Commit a9d308bf by Richard Kenner

(__objc_thread_yield): Use sched_yield instead.

From-SVN: r14327
parent 9a9b232a
......@@ -86,7 +86,7 @@ __objc_thread_get_priority(void)
void
__objc_thread_yield(void)
{
pthread_yield();
sched_yield();
}
/* Terminate the current thread. */
......
Markdown is supported
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