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 <1300711012.93.0.404983837082.issue11618@psf.upfronthosting.co.za>
Content
> 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?
History
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