Antoine Pitrou wrote:
> On Sun, 16 May 2010 15:13:44 PDT
> Bill Janssen <jans...@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   |   ncogh...@gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to