mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Remove race condition noted in ITS#216.
This commit is contained in:
parent
6e5d2eea4e
commit
c044b2a667
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue