Thursday, 22 August 2013

winapi analog of java's synchronized/wait()

winapi analog of java's synchronized/wait()

java's synchronized block is like windows critical section or mutex: only
one thread may enter it at a time.
But there's a difference: when you call wait() inside the synchronized
block, other threads gain the ability to enter the block. Not sure how to
do the same in winapi.

No comments:

Post a Comment