Skip to content
Snippets Groups Projects
Commit c044b2a6 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Remove race condition noted in ITS#216.

parent 6e5d2eea
Branches
Tags
No related merge requests found
......@@ -96,7 +96,7 @@ ldap_pvt_thread_cond_wait( ldap_pvt_thread_cond_t *cond,
ldap_pvt_thread_mutex_t *mutex )
{
ReleaseMutex( *mutex );
WaitForSingleObject( *cond, INFINITE );
SignalObjectAndWait( *mutex, *cond, INFINITE, FALSE );
WaitForSingleObject( *mutex, INFINITE );
return( 0 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment