(__objc_thread_yield): Use sched_yield instead.

From-SVN: r14327
This commit is contained in:
Richard Kenner 1997-06-27 10:47:07 -04:00
parent 9a9b232af8
commit a9d308bf5f
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ __objc_thread_get_priority(void)
void
__objc_thread_yield(void)
{
pthread_yield();
sched_yield();
}
/* Terminate the current thread. */