blob: 7592b5ef8e25b066012d61a6415e602580cfcd34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
http://sourceware.org/cgi-bin/cvsweb.cgi/~checkout~/linuxthreads/linuxthreads/FAQ.html?rev=1.2.2.1&content-type=text/html&cvsroot=glibc#E
use sched_yield, not pthread_yield
http://bugs.gentoo.org/119762
--- libconsole.c
+++ libconsole.c
@@ -439,7 +439,7 @@
ret = 0;
}
} else
- pthread_yield();
+ sched_yield();
return ret;
}
|