Remove unneeded locking. Don't wait for memp_trickle to complete,

loosing an signal doesn't hurt in this case.
This commit is contained in:
Ralf Haferkamp 2008-11-28 16:09:40 +00:00
parent 306aed6057
commit 760660a4a2

View file

@ -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 )