]> git.pond.sub.org Git - empserver/commitdiff
(empth_yield): Remove sleep(). Delay not necessary.
authorRon Koenderink <rkoenderink@yahoo.ca>
Mon, 1 Aug 2005 03:08:16 +0000 (03:08 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Mon, 1 Aug 2005 03:08:16 +0000 (03:08 +0000)
src/lib/empthread/pthread.c

index 1198a0f41a6a850d27bbed201142b711852ac6ca..7be23417f6a260a1101fb48668ec7479239a675f 100644 (file)
@@ -287,7 +287,6 @@ void
 empth_yield(void)
 {
     pthread_mutex_unlock(&mtx_ctxsw);
-    sleep(10);                 /* take a nap  pthread_yield(); */
     pthread_mutex_lock(&mtx_ctxsw);
     empth_restorectx();
 }