From: Kurt Zeilenga Date: Tue, 12 Sep 2000 18:18:27 +0000 (+0000) Subject: ITS#697: Fix cond_wait X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2045 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c78d5f5e7f718f07851f79a7cd2ffc023675b54f;p=openldap ITS#697: Fix cond_wait --- diff --git a/libraries/libldap_r/thr_nt.c b/libraries/libldap_r/thr_nt.c index 935bf4bd13..a96bf7b9ac 100644 --- a/libraries/libldap_r/thr_nt.c +++ b/libraries/libldap_r/thr_nt.c @@ -95,7 +95,6 @@ int ldap_pvt_thread_cond_wait( ldap_pvt_thread_cond_t *cond, ldap_pvt_thread_mutex_t *mutex ) { - ReleaseMutex( *mutex ); SignalObjectAndWait( *mutex, *cond, INFINITE, FALSE ); WaitForSingleObject( *mutex, INFINITE ); return( 0 );