[Python-Dev] Fixing the GIL (with a BFS scheduler)

Nick Coghlan ncoghlan at gmail.com
Mon May 17 23:27:59 CEST 2010


Martin v. Löwis wrote:
> People running into these problems will have a number of choices to
> them: switch operating systems (i.e. drop OSX for something that
> actually works), switch programming languages (i.e. drop Python for
> something that actually works), switch application architectures (i.e.
> drop threads for something that actually works), switch to 3.x, or
> just accept the problem, and hope that the system will find something
> else to do while switching Python threads.

There's even another option: if the new-GIL backport patch in
http://bugs.python.org/issue7753 works for you, apply it and run with it
(and advocate for a Python 2.8 release to make it more widely available,
possibly even contributing the fallback behaviour discussed in the issue
to make that situation more likely).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------


More information about the Python-Dev mailing list