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

Bill Janssen janssen at parc.com
Sun May 16 23:27:09 CEST 2010


Nick Coghlan <ncoghlan at gmail.com> wrote:

> Bill Janssen wrote:
> > As far as I'm concerned, just tying all of
> > the program's threads to a single core would be fine, though I imagine
> > others would differ.
> 
> Which can be done through the OS tools for setting an application's CPU
> affinity.

Yes, as I say, if the initialization of the threading module called
those tools appropriately and automatically, I'd be happy.  Well, less
unhappy :-).

I have to admit, I don't know how to do this on OS X.  What's the
tool and the process, if we're not getting too far afield?

Bill


More information about the Python-Dev mailing list