From 35455699e719fe81702cbe3aeec5dd93137b0fc9 Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Mon, 13 Oct 2003 14:08:55 +0000 Subject: [PATCH] rq_mutex placing fix --- servers/slapd/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index c8283828bd..88f82e7322 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -1357,8 +1357,8 @@ slapd_daemon_task( ldap_pvt_thread_mutex_unlock( &syncrepl_rq.rq_mutex ); ldap_pvt_thread_pool_submit( &connection_pool, rtask->routine, (void *) rtask ); + ldap_pvt_thread_mutex_lock( &syncrepl_rq.rq_mutex ); } - ldap_pvt_thread_mutex_lock( &syncrepl_rq.rq_mutex ); rtask = ldap_pvt_runqueue_next_sched( &syncrepl_rq, &cat ); } ldap_pvt_thread_mutex_unlock( &syncrepl_rq.rq_mutex ); -- 2.39.5