]> git.sur5r.net Git - openldap/commitdiff
ITS#697: Fix cond_wait
authorKurt Zeilenga <kurt@openldap.org>
Tue, 12 Sep 2000 18:18:27 +0000 (18:18 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 12 Sep 2000 18:18:27 +0000 (18:18 +0000)
libraries/libldap_r/thr_nt.c

index 935bf4bd1396f8b9a7f9816eb1219314b6608cdf..a96bf7b9acecd1b26278a9d7ccd2ea866e2c0c3c 100644 (file)
@@ -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 );