From: Hallvard Furuseth Date: Sun, 10 Feb 2008 16:24:28 +0000 (+0000) Subject: ITS#5364, thread pool efficiency: X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~176 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5fca6c19c82eab6e346a4e491d2c24d0224aa562;p=openldap ITS#5364, thread pool efficiency: Add ldap_pvt_thread_pool_pausing(): pause check for slapd without locking. --- diff --git a/include/ldap_pvt_thread.h b/include/ldap_pvt_thread.h index 3236b89755..f08dfb4e6a 100644 --- a/include/ldap_pvt_thread.h +++ b/include/ldap_pvt_thread.h @@ -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 ));