projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
[win32] integrate mainline
[p5sagit/p5-mst-13.2.git]
/
thread.h
diff --git
a/thread.h
b/thread.h
index
a252285
..
6141cf3
100644
(file)
--- a/
thread.h
+++ b/
thread.h
@@
-36,10
+36,12
@@
#endif
#ifndef YIELD
-# ifdef HAS_PTHREAD_YIELD
-# define YIELD pthread_yield()
-# else
+# ifdef HAS_SCHED_YIELD
# define YIELD sched_yield()
+# else
+# ifdef HAS_PTHREAD_YIELD
+# define YIELD pthread_yield()
+# endif
# endif
#endif