summaryrefslogtreecommitdiffstats
path: root/cygwin-1.7.7-pthread_yield.patch
blob: d1ae0227021c78a39d09827199155904d2c97a6a (plain)
1
2
3
4
5
6
7
8
9
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
 }