]> git.sur5r.net Git - openldap/commitdiff
ITS#5364, thread pool efficiency:
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 10 Feb 2008 16:24:28 +0000 (16:24 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 10 Feb 2008 16:24:28 +0000 (16:24 +0000)
Add ldap_pvt_thread_pool_pausing(): pause check for slapd without locking.

include/ldap_pvt_thread.h

index 3236b89755b42b68d99666a1410bdd026ee982b7..f08dfb4e6aa0afb722a362131c8a3624da2b1263 100644 (file)
@@ -243,6 +243,10 @@ ldap_pvt_thread_pool_query LDAP_P((
        ldap_pvt_thread_pool_t *pool,
        ldap_pvt_thread_pool_param_t param, void *value ));
 
+LDAP_F( int )
+ldap_pvt_thread_pool_pausing LDAP_P((
+       ldap_pvt_thread_pool_t *pool ));
+
 LDAP_F( int )
 ldap_pvt_thread_pool_backload LDAP_P((
        ldap_pvt_thread_pool_t *pool ));