]> git.sur5r.net Git - openldap/commit
Replace state LDAP_INT_THREAD_POOL_PAUSING with member ltp_pause,
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 9 May 2007 19:53:25 +0000 (19:53 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 9 May 2007 19:53:25 +0000 (19:53 +0000)
commit92afeb8ef73f7281248ef11bca23839bdcf0bb64
tree0e82a7fc8ad44ba067ad93a4b888fa9bf7116a80
parent9e9bf22a64343e63cda1d0b69679057628c007db
Replace state LDAP_INT_THREAD_POOL_PAUSING with member ltp_pause,
so a pause will work during states FINISHING and STOPPING.

Add missing waits and signals, and move waits in pool_wrapper().
Replace if(test) with while(test) when waiting for the multi-purpose
condition variable ltp_cond.
libraries/libldap_r/tpool.c