(empth_yield): Remove sleep(). Delay not necessary.

This commit is contained in:
Ron Koenderink 2005-08-01 03:08:16 +00:00
parent 66e30e2c8e
commit ce11addeed

View file

@ -287,7 +287,6 @@ void
empth_yield(void) empth_yield(void)
{ {
pthread_mutex_unlock(&mtx_ctxsw); pthread_mutex_unlock(&mtx_ctxsw);
sleep(10); /* take a nap pthread_yield(); */
pthread_mutex_lock(&mtx_ctxsw); pthread_mutex_lock(&mtx_ctxsw);
empth_restorectx(); empth_restorectx();
} }