From 760660a4a25b65b45893322703dec3e6097e84cd Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Fri, 28 Nov 2008 16:09:40 +0000 Subject: [PATCH] Remove unneeded locking. Don't wait for memp_trickle to complete, loosing an signal doesn't hurt in this case. --- servers/slapd/back-bdb/tools.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/servers/slapd/back-bdb/tools.c b/servers/slapd/back-bdb/tools.c index 66b2e9a32f..c06711677d 100644 --- a/servers/slapd/back-bdb/tools.c +++ b/servers/slapd/back-bdb/tools.c @@ -522,9 +522,7 @@ ID bdb_tool_entry_put( } if (( slapMode & SLAP_TOOL_QUICK ) && (( e->e_id & 0xfff ) == 0xfff )) { - ldap_pvt_thread_mutex_lock( &bdb_tool_trickle_mutex ); ldap_pvt_thread_cond_signal( &bdb_tool_trickle_cond ); - ldap_pvt_thread_mutex_unlock( &bdb_tool_trickle_mutex ); } if ( !bdb->bi_linear_index ) -- 2.39.5