]> git.pond.sub.org Git - empserver/commitdiff
(empth_yield) [_EMPTH_LWP]: Blocked the current thread forever; fix.
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 24 Jul 2005 09:57:39 +0000 (09:57 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 24 Jul 2005 09:57:39 +0000 (09:57 +0000)
src/lib/empthread/lwp.c

index 014640fed140901329a929b12b9ebd255a3d19b0..f818cd50bb18ea09953aea444f602d3ecdd29be8 100644 (file)
@@ -80,8 +80,7 @@ empth_exit(void)
 void
 empth_yield(void)
 {
-    /* a hack! */
-    lwpReschedule();
+    lwpYield();
 }
 
 void