From 5977f201271e54873e936a0fff2e896d4f6c4ff8 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Tue, 9 Dec 2008 10:57:15 +0000 Subject: [PATCH] Avoid locking up slapd when paused during shutdown (ITS#5841), reverting r1.81 --- libraries/libldap_r/tpool.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 2.39.5