A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-January/031953.html below:

[Python-Dev] Extension modules, Threading, and the GIL

[Python-Dev] Extension modules, Threading, and the GILDavid Abrahams dave@boost-consulting.com
Wed, 08 Jan 2003 10:27:11 -0500
"Mark Hammond" <mhammond@skippinet.com.au> writes:

>> Mark Hammond wrote:
>> > 1) Allow "arbitrary" threads (that is, threads never before
>> seen by Python)
>> > to acquire the resources necessary to call the Python C API.
>>
>> This is possible today, all you need is a pointer to an interpreter
>> state. If you have that, you can use PyThreadState_New,
>
> But what if in some cases, this callback is as a result of Python code on
> the same thread - ie, there already exists a Python thread-state higher up
> the stack?

I believe that's the case which bit me.

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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4