Do you think it is harmless to call ReleaseMutex() several times for the
owner of the mutex?
I mean let's say thread A has a mutex by calling Wait..() and then with some
reason after the waiting function ReleaseMutex() is called several times.
Thanks
Mostly you just waste CPU.
However you will cause trouble if the *caller* has locked the mutex
already.
Regards,
Roger.
Hint: consider a recursively acquired mutex
"Back 9" <Ba...@discussions.microsoft.com> wrote in message
news:7A31800D-008C-4B45...@microsoft.com...