Commit 8ac01163 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

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

losing an signal doesn't hurt in this case.
parent d5d0ef74
......@@ -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 )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment