Extension modules, Threading, and the GIL

David Abrahams dave at boost-consulting.com
Mon Dec 30 15:31:58 EST 2002


martin at v.loewis.de (Martin v. Löwis) writes:

> David Abrahams <dave at boost-consulting.com> writes:
>
>> The he essence of the problem is that there's no way to write code
>> that uses the Python 'C' API and which has no knowledge of whether it
>> is running on Python's main thread when it is entered.
>
> Following up here as well: Can you please explain why the main thread
> has any relevance? (or perhaps what you mean when you say "main thread")

Sorry, I was being imprecise. I just meant "the thread which currently
posesses the GIL".

-- 
                       David Abrahams
   dave at boost-consulting.com * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution



More information about the Python-list mailing list