summaryrefslogtreecommitdiffstats
path: root/cygwin-1.7.7-pthread_yield.patch
diff options
context:
space:
mode:
authorYaakov Selkowitz <Yaakov@fedora.selkowitz>2011-02-17 04:06:58 -0600
committerYaakov Selkowitz <Yaakov@fedora.selkowitz>2011-02-17 04:06:58 -0600
commit1dfb4e5d756cfdd6f2d07c776fc95831b5c7d639 (patch)
tree914b31c479b2ea385c71795b633e734296a75fe0 /cygwin-1.7.7-pthread_yield.patch
downloadcygwin-1dfb4e5d756cfdd6f2d07c776fc95831b5c7d639.tar.gz
cygwin-1dfb4e5d756cfdd6f2d07c776fc95831b5c7d639.tar.xz
cygwin-1dfb4e5d756cfdd6f2d07c776fc95831b5c7d639.zip
Initial commit
Diffstat (limited to 'cygwin-1.7.7-pthread_yield.patch')
-rw-r--r--cygwin-1.7.7-pthread_yield.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/cygwin-1.7.7-pthread_yield.patch b/cygwin-1.7.7-pthread_yield.patch
new file mode 100644
index 0000000..d1ae022
--- /dev/null
+++ b/cygwin-1.7.7-pthread_yield.patch
@@ -0,0 +1,10 @@
+--- a/winsup/cygwin/include/pthread.h 2007-02-07 11:22:40.000000000 -0600
++++ b/winsup/cygwin/include/pthread.h 2011-02-15 09:56:02.000000000 -0600
+@@ -194,6 +194,7 @@
+
+ int pthread_suspend (pthread_t);
+ int pthread_continue (pthread_t);
++#define pthread_yield sched_yield
+
+ #ifdef __cplusplus
+ }