summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-10-21 13:03:57 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1998-10-21 13:03:57 +0000
commit31dfa2f67cc0c743af923d5a6fe0b0f44ad42013 (patch)
tree70529d5aa56428b075ef625e22beb0da2f38f658 /config_h.SH
parent9bbd4fab969be820145f86437927ebc1afa5896b (diff)
parent62b1ebc20082e645ed8e8a0cc6c1ebf91577cd34 (diff)
downloadperl-31dfa2f67cc0c743af923d5a6fe0b0f44ad42013.tar.gz
yielding, the saga continues.
p4raw-id: //depot/cfgperl@2032
Diffstat (limited to 'config_h.SH')
-rw-r--r--config_h.SH12
1 files changed, 12 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index b9db158df3..264c54db09 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -2267,12 +2267,24 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
*/
#define ARCHNAME "$archname" /**/
+/* HAS_PTHREAD_YIELD:
+ * This symbol, if defined, indicates that the pthread_yield
+ * routine is available to yield the execution of the current
+ * thread. sched_yield is preferable to pthread_yield.
+ */
/* SCHED_YIELD:
* This symbol defines the way to yield the execution of
* the current thread. Known ways are sched_yield,
* pthread_yield, and pthread_yield with NULL.
*/
+/* HAS_SCHED_YIELD:
+ * This symbol, if defined, indicates that the sched_yield
+ * routine is available to yield the execution of the current
+ * thread. sched_yield is preferable to pthread_yield.
+ */
+#$d_pthread_yield HAS_PTHREAD_YIELD /**/
#define SCHED_YIELD $sched_yield /**/
+#$d_sched_yield HAS_SCHED_YIELD /**/
/* PTHREADS_CREATED_JOINABLE:
* This symbol, if defined, indicates that pthreads are created