[issue15038] Optimize python Locks on Windows

Richard Oudkerk report at bugs.python.org
Tue Jun 19 16:45:46 CEST 2012


Richard Oudkerk <shibturn at gmail.com> added the comment:

The implementation in condvar.h is basically the same as one of the attempts mentioned in

    http://birrell.org/andrew/papers/ImplementingCVs.pdf

(Listing 2 fixed to use non-binary semaphores.)

The implementation for multiprocessing.Condition is virtually the same as Listing 3 which the author says he thinks is "formally correct" but with "a fundamental performance problem".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15038>
_______________________________________


More information about the Python-bugs-list mailing list