A RetroSearch Logo

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

Search Query:

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

Extension modules, Threading, and the GIL

[Python-Dev] Re: Extension modules, Threading, and the GILMartin v. Löwis martin@v.loewis.de
11 Jan 2003 08:53:57 +0100
"Mark Hammond" <mhammond@skippinet.com.au> writes:

> The obvious question from this approach is how to deal with *multiple*
> libraries in one app.  For example, what happens when a single Python
> application wishes to use Boost *and* xpcom, and both attempt their
> bootstrap prelude, each providing a TLS implementation?

I would advise to follow Tim's strategy: Make TLS part of the thread_*
files, accept that on some threading configuration, there won't be TLS
until somebody implements it, and make TLS usage part of the core
instead of part of the extension module.

I doubt any of the potential TLS providers supports more than Win32 or
pthreads.

Regards,
Martin



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