From: Ralf Haferkamp Date: Tue, 9 Dec 2008 10:57:15 +0000 (+0000) Subject: Avoid locking up slapd when paused during shutdown (ITS#5841), reverting X-Git-Tag: ACLCHECK_0~1030 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5977f201271e54873e936a0fff2e896d4f6c4ff8;p=openldap Avoid locking up slapd when paused during shutdown (ITS#5841), reverting r1.81 --- diff --git a/libraries/libldap_r/tpool.c b/libraries/libldap_r/tpool.c index fa22d7d9a4..7fcfa368c6 100644 --- a/libraries/libldap_r/tpool.c +++ b/libraries/libldap_r/tpool.c @@ -785,8 +785,7 @@ ldap_pvt_thread_pool_resume ( SET_VARY_OPEN_COUNT(pool); pool->ltp_work_list = &pool->ltp_pending_list; - if (!pool->ltp_finishing) - ldap_pvt_thread_cond_broadcast(&pool->ltp_cond); + ldap_pvt_thread_cond_broadcast(&pool->ltp_cond); ldap_pvt_thread_mutex_unlock(&pool->ltp_mutex); return(0);