This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kristjan.jonsson
Recipients brian.curtin, kristjan.jonsson, loewis, pitrou, python-dev, sbt, tim.golden
Date 2012-04-19.10:26:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here is a new patch.
This uses critical sections and condition variables to avoid kernel mode switches for locks. Windows mutexes are expensive and for uncontented locks, this offers a big win.

It also adds an internal set of critical section/condition variable structures, that can be used on windows to do other such things without resorting to explicit kernel objects.

This code works on XP and newer, since it relies on the "semaphore" kernel object being present.  In addition, if compiled to target Vista or greater, it will use the built-in critical section primitives and the  FRWLock objects (which are faster still than CriticalSection objects and more robust)
Date User Action Args
2012-04-19 10:26:52kristjan.jonssonsetrecipients: + kristjan.jonsson, loewis, pitrou, tim.golden, brian.curtin, python-dev, sbt
2012-04-19 10:26:52kristjan.jonssonsetmessageid: <>
2012-04-19 10:26:51kristjan.jonssonlinkissue11618 messages
2012-04-19 10:26:51kristjan.jonssoncreate