win32: fix missing unlock/lock with static condition variables
The mutex needs to be unlocked while the thread sleeps. Otherwise, a deadlock may occur in case of contention for the mutex.
Showing
Please register or sign in to comment
The mutex needs to be unlocked while the thread sleeps. Otherwise, a deadlock may occur in case of contention for the mutex.