(__objc_thread_yield): Use sched_yield instead.
From-SVN: r14327
This commit is contained in:
parent
9a9b232af8
commit
a9d308bf5f
|
@ -86,7 +86,7 @@ __objc_thread_get_priority(void)
|
|||
void
|
||||
__objc_thread_yield(void)
|
||||
{
|
||||
pthread_yield();
|
||||
sched_yield();
|
||||
}
|
||||
|
||||
/* Terminate the current thread. */
|
||||
|
|
Loading…
Reference in New Issue