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: Graham Fawcett
Subject: Re: [Chicken-users] An alternative thread system?
Date: Mon, 18 Aug 2008 16:22:57 -0400

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.

Best,
G




reply via email to

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