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/2010-May/100147.html below:

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

[Python-Dev] Fixing the GIL (with a BFS scheduler) [Python-Dev] Fixing the GIL (with a BFS scheduler)Nick Coghlan ncoghlan at gmail.com
Mon May 17 23:31:22 CEST 2010
Antoine Pitrou wrote:
> On Sun, 16 May 2010 15:13:44 PDT
> Bill Janssen <janssen at parc.com> wrote:
>> So the patch to the threading code would presumably, for those OSs where
>> the capability exists, try to put all created threads in the same
>> affinity set.
> 
> This is not really a good idea. There's some code which releases the
> GIL, precisely so that you can run several threads (computations) at
> once.

Somewhat irrelevant given the rest of this thread, but you could
potentially deal with that by playing CPU affinity games in the
BEGIN/END_ALLOW_THREADS macros.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
More information about the Python-Dev mailing list

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