[issue15038] Optimize python Locks on Windows
Richard Oudkerk
report at bugs.python.org
Tue Jun 19 20:08:54 CEST 2012
Richard Oudkerk <shibturn at gmail.com> added the comment:
1.41 Generic emulations of the pthread_cond_* API using
1.42 earlier Win32 functions can be found on the Web.
1.43 The following read can be edificating (or not):
1.44 http://www.cse.wustl.edu/~schmidt/win32-cv-1.html
1.45 +
1.46 + See also
1.47 */
1.45 and 1.46 should be removed?
Also I would not recommend the win32-cv-1.html page as "edificating" (edifying?). The implementations all either suffer from the same stolen wakeup issue or are broken.*
* win32-cv-1.html assumes that SignalObjectAndWait() is atomic and that PulseEvent() is guaranteed to wake a waiting thread if there is one -- but Microsoft's documentation now admits that both these assumptions are false.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15038>
_______________________________________
More information about the Python-bugs-list
mailing list