[Python-Dev] Making the GIL faster & lighter on Windows

Tim Lesher tlesher at gmail.com
Tue May 26 23:03:44 CEST 2009


On Tue, May 26, 2009 at 16:07, "Martin v. Löwis" <martin at v.loewis.de> wrote:
>> 3. ?? - I'm sure there are other issues that deserve a look.
>
> What about fairness? I don't know off-hand whether the GIL is
> fair, or whether critical sections are fair, but it needs to be
> considered.

FWIW, Win32 CriticalSections are guaranteed to be fair, but they don't
guarantee a defined order of wakeup among threads of equal priority.

-- 
Tim Lesher <tlesher at gmail.com>


More information about the Python-Dev mailing list