(empth_wait_for_signal) [_WIN32]: Add thread block for the main thread,

otherwise the main thread blocks all others.
This commit is contained in:
Ron Koenderink 2006-06-10 03:57:50 +00:00
parent 0864c1fdb3
commit 0c53200e8e

View file

@ -589,6 +589,8 @@ empth_request_shutdown(void)
int
empth_wait_for_signal(void)
{
loc_BlockThisThread();
/* Get the MUTEX semaphore, wait the number of MS */
WaitForSingleObject(hShutdownEvent, INFINITE);