Message131643
> 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:29 | pitrou | set | recipients:
+ pitrou, loewis, kristjan.jonsson, tim.golden, brian.curtin, sbt |
2011-03-21 12:46:28 | pitrou | link | issue11618 messages |
2011-03-21 12:46:27 | pitrou | create | |
|