]> git.sur5r.net Git - openldap/commitdiff
Avoid locking up slapd when paused during shutdown (ITS#5841), reverting
authorRalf Haferkamp <ralf@openldap.org>
Tue, 9 Dec 2008 10:57:15 +0000 (10:57 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Tue, 9 Dec 2008 10:57:15 +0000 (10:57 +0000)
r1.81

libraries/libldap_r/tpool.c

index fa22d7d9a436051455003a881c61f7bee17eb7ae..7fcfa368c62a7f2953be6725d234680996ddb057 100644 (file)
@@ -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);