Commit a1e63db5 authored by Howard Chu's avatar Howard Chu
Browse files

Fix ITS#1865, (ITS#1764?) cond_broadcast behavior was broken

parent 964d1fdd
......@@ -109,7 +109,8 @@ ldap_pvt_thread_cond_wait( ldap_pvt_thread_cond_t *cond,
int
ldap_pvt_thread_cond_broadcast( ldap_pvt_thread_cond_t *cond )
{
SetEvent( *cond );
while ( WaitForSingleObject( *cond, 0 ) == WAIT_TIMEOUT )
SetEvent( *cond );
return( 0 );
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment