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 pitrou
Recipients brian.curtin, kristjan.jonsson, loewis, pitrou, sbt, tim.golden
Date 2011-03-21.12:46:27
SpamBayes Score 7.14504e-06
Marked as misclassified No
Message-id <1300711585.3498.3.camel@localhost.localdomain>
In-reply-to <>
> I'm just providing this as a fast alternative to the Semaphore, which
> as far as I know, will cause a kernel call every time.

A Semaphore might be "slow", but I'm not sure other primitives are
faster. For the record, I tried another implementation using a critical
section, and it's not significantly faster under a VM (even though MSDN
claims critical sections are fast).

Have you timed your solution?
Date User Action Args
2011-03-21 12:46:29pitrousetrecipients: + pitrou, loewis, kristjan.jonsson, tim.golden, brian.curtin, sbt
2011-03-21 12:46:28pitroulinkissue11618 messages
2011-03-21 12:46:27pitroucreate