Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
58718e3b
Commit
58718e3b
authored
Sep 16, 1998
by
Kurt Zeilenga
Browse files
Add #ifdef for when sched_yield/sched.h is missing.
parent
1d3df71e
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblthread/thread.c
View file @
58718e3b
...
...
@@ -491,12 +491,14 @@ pthread_kill( pthread_t tid, int sig )
#if defined ( POSIX_THREADS )
#ifndef SCHED_YIELD_MISSING
#include
<sched.h>
void
pthread_yield
(
void
)
{
sched_yield
();
}
#endif
#endif
/* posix threads */
#endif
/* dce pthreads */
...
...
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