aahz at pythoncraft.com
Wed Oct 16 19:53:43 CEST 2002
In article <cb035744.0210152334.22fa82c9 at posting.google.com>,
Will Stuyvesant <hwlgw at hotmail.com> wrote:
>> Ah! You need to set up your C primitives to release the GIL. That
>> should be easy as long as your C functions don't need to communicate
>> with other threads *or* Python while they operate.
>I am only doing Python programming, so I have no idea how to release a
>GIL. Also, I am on Windows (without M$ compiler).
>Can you point to a list of Python functions that release the GIL? If
>it exists... For example the ** operator does not...as can be seen in
>an earlier post. A list with safe and unsafe functions would be
Generally speaking, only/all I/O related functions release the GIL.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Project Vote Smart: http://www.vote-smart.org/
More information about the Python-list