summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-05 04:32:04 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-05 04:32:04 +0000
commit19e01cac0b395d13df445a95e5bc686d93b65d23 (patch)
tree43b62474dc26a08b818e3a43921b5ccd8a7b1ca5 /app-admin/showconsole/files
parentMore java and jack maskings for 2006.0 SPARC profiles. (diff)
downloadgentoo-2-19e01cac0b395d13df445a95e5bc686d93b65d23.tar.gz
gentoo-2-19e01cac0b395d13df445a95e5bc686d93b65d23.tar.bz2
gentoo-2-19e01cac0b395d13df445a95e5bc686d93b65d23.zip
Use sched_yield instead of pthread_yield #119762 by Dan Callaghan.
(Portage version: 2.1_pre5-r3)
Diffstat (limited to 'app-admin/showconsole/files')
-rw-r--r--app-admin/showconsole/files/showconsole-1.08-no-pthread-yield.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-admin/showconsole/files/showconsole-1.08-no-pthread-yield.patch b/app-admin/showconsole/files/showconsole-1.08-no-pthread-yield.patch
new file mode 100644
index 000000000000..7592b5ef8e25
--- /dev/null
+++ b/app-admin/showconsole/files/showconsole-1.08-no-pthread-yield.patch
@@ -0,0 +1,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;
+ }