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

Nick Coghlan ncoghlan at gmail.com
Mon May 17 23:33:37 CEST 2010


Florent Xicluna wrote:
> I would like to have the possibility to "./configure
> --without-broken-GIL" or "./configure --with-bfs-scheduler" in Python
> 2.7  like we "./configure --with-computed-gotos" in 3.2.
> 
> It will let the opportunity for the experienced user (or the
> distribution packager) to enable the threading optimizations on its
> platform, while it preserves the current behaviour by default.
> 
> It will give more chance that people test this experimental configure
> option and report any issue they find, so it can be fixed and improved
> in the next bugfix version (2.7.1).
> Since the 2.7 branch will have long term support, it makes sense to
> support multi-core platforms.
> 
> And more users of the fixed GIL means more bugfixes (even for 3.x branch).

Would you suggest extending this as far as providing "new GIL" binaries
for Windows and Mac OS X?

(If that was the case, it begins to sound a lot like
http://bugs.python.org/issue7753 with reversion to the old GIL on
non-NT/POSIX platforms)

Cheers,
Nick.

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


More information about the Python-Dev mailing list