[Python-Dev] Reworking the GIL

"Martin v. Löwis" martin at v.loewis.de
Mon Nov 2 11:42:47 CET 2009


Sturla Molden wrote:
> Martin v. Löwis skrev:
>> b) notice that, on Windows, minimum wait resolution may be as large as
>>    15ms (e.g. on XP, depending on the hardware). Not sure what this
>>    means for WaitForMultipleObjects; most likely, if you ask for a 5ms
>>    wait, it waits until the next clock tick. It would be bad if, on
>>    some systems, a wait of 5ms would mean that it immediately returns.
>>   
> Which is why one should use multimedia timers with QPC on Windows.

Maybe you should study the code under discussion before making such
a proposal.

Regards,
Martin


More information about the Python-Dev mailing list