Hi all,
I have a question regarding ucommon::Conditional::wait() implementation for
_MSTHREADS_.
Should not ResetEvent() be called before lock is released here?
result = ((result == WAIT_OBJECT_0 + BROADCAST) && (waiting == 0));
LeaveCriticalSection(&mlock);
if(result)
ResetEvent(&events[BROADCAST]);
Thank you.
Andy_______________________________________________ Bug-commoncpp mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-commoncpp
