Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
8ac01163
Commit
8ac01163
authored
Dec 15, 2008
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-bdb/tools.c
View file @
8ac01163
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment