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 sbt
Recipients brian.curtin, kristjan.jonsson, loewis, pitrou, sbt, tim.golden
Date 2011-03-20.18:51:30
SpamBayes Score 2.212005e-06
Marked as misclassified No
Message-id <1300647091.7.0.855144541193.issue11618@psf.upfronthosting.co.za>
In-reply-to
Content
Have you tried benchmarking it?

Interlocked functions are *much* faster than Win32 mutex/semaphores in the uncontended case.  

It only doubles the time taken for a "l.acquire(); l.release()" loop in Python code, but at the C level it is probably 10 times slower.  

Do you really want the GIL to be 10 times slower in the uncontended case? ;-)
History
Date User Action Args
2011-03-20 18:51:31sbtsetrecipients: + sbt, loewis, pitrou, kristjan.jonsson, tim.golden, brian.curtin
2011-03-20 18:51:31sbtsetmessageid: <1300647091.7.0.855144541193.issue11618@psf.upfronthosting.co.za>
2011-03-20 18:51:30sbtlinkissue11618 messages
2011-03-20 18:51:30sbtcreate