[Python-Dev] "Fixing" the new GIL

Antoine Pitrou solipsis at pitrou.net
Tue Mar 16 15:16:23 CET 2010

Le Tue, 16 Mar 2010 14:10:33 +0000,
Kristján Valur Jónsson <kristjan at ccpgames.com> a écrit :
> The key to this
> is implementing your GIL in such a way that you (and not the system)
> chooses which threads runs next.  On Windows it works in a nice,
> determinitstic FIFO order becoause that's how the underlying Event
> object is supposed to work.

Well, I don't think this has ever been by design, and it's not obvious
this is desirable either (see Dave Beazley's benchmark).

> Btw, if you want to take up a private converstaion with me, I'd like
> to point out to you some problems with the Windows version of the
> Condition variable :)

You can report a bug.



More information about the Python-Dev mailing list