Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ingo Voss
OpenLDAP
Commits
593cb4ce
Commit
593cb4ce
authored
Jan 21, 2005
by
Howard Chu
Browse files
Import ITS
#3471
fix from HEAD - don't yield unnecessarily
parent
21fee6a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/daemon.c
View file @
593cb4ce
...
...
@@ -1451,6 +1451,7 @@ slapd_daemon_task(
case
0
:
/* timeout - let threads run */
ebadf
=
0
;
#ifndef HAVE_YIELDING_SELECT
#ifdef NEW_LOGGING
LDAP_LOG
(
CONNECTION
,
DETAIL2
,
"slapd_daemon_task: select timeout - yielding
\n
"
,
0
,
0
,
0
);
...
...
@@ -1460,6 +1461,7 @@ slapd_daemon_task(
#endif
ldap_pvt_thread_yield
();
#endif
continue
;
default:
/* something happened - deal with it */
...
...
@@ -1932,7 +1934,9 @@ slapd_daemon_task(
slapd_close
(
rd
);
}
}
#ifndef HAVE_YIELDING_SELECT
ldap_pvt_thread_yield
();
#endif
}
if
(
slapd_shutdown
==
1
)
{
...
...
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