Re: WaitForSingleObject() will not deadlock



On Sun, 1 Jul 2007 17:01:07 -0700 "Alexander Grigoriev" <alegr@xxxxxxxxxxxxx> wrote:
This is just a CRITICAL_SECTION rough equivalent.

Sorry to be following up so many times when once would have been
sufficient. I don't know the semantics of CRITICAL_SECTION, but
POSIX mutexes provide memory visibility guarantees that, from the
name of it, CRITICAL_SECTION doesn't sound like it does.

They are different beasts.

-frank
.


Quantcast