chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] An alternative thread system?


From: Vincent Manis
Subject: Re: [Chicken-users] An alternative thread system?
Date: Mon, 18 Aug 2008 17:45:11 -0700


On 2008-Aug-18, at 13:22, Graham Fawcett wrote:


On Sun, Aug 10, 2008 at 9:42 PM, Vincent Manis <address@hidden> wrote:
CPython uses a Global Interpreter Lock (GIL) to implement critical sections
in the interpreter, thus rendering native
threads in that system impossible. Some version of the Python interpreter (I
think it was 1.6) was rewritten without the
GIL, so as to provide for native threads.

That's close, but not quite right. CPython threads are indeed system
threads, but the GIL guarantees that only one of them is running
Python code at any time.

That first sentence in the quote from me is nonsensical. I really appreciate
Graham's correction!

-- v




reply via email to

[Prev in Thread] Current Thread [Next in Thread]