This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Introduce (undefined) pthread_attr_setscope to non-Configure lands.
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 24 May 2003 06:23:51 +0000 (06:23 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 24 May 2003 06:23:51 +0000 (06:23 +0000)
p4raw-id: //depot/perl@19607

20 files changed:
Cross/config.sh-arm-linux
NetWare/config.wc
NetWare/config_H.wc
configure.com
epoc/config.sh
plan9/config.plan9
plan9/config_h.sample
plan9/config_sh.sample
uconfig.h
uconfig.sh
win32/config.bc
win32/config.gc
win32/config.vc
win32/config.vc64
win32/config_H.bc
win32/config_H.gc
win32/config_H.vc
win32/config_H.vc64
wince/config.ce
wince/config_H.ce

index 617be5b..ee370a3 100644 (file)
@@ -322,6 +322,7 @@ d_poll='define'
 d_portable='define'
 d_procselfexe='undef'
 d_pthread_atfork='undef'
+d_pthread_attr_setscope='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'
index 60bbaae..818272c 100644 (file)
@@ -298,6 +298,7 @@ d_poll='undef'
 d_portable='define'
 d_procselfexe='undef'
 d_pthread_atfork='undef'
+d_pthread_attr_setscope='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'
index a1f6bad..1991c43 100644 (file)
 #define SCHED_YIELD            /**/
 /*#define HAS_SCHED_YIELD      /**/
 
+/* HAS_PTHREAD_ATTR_SETSCOPE:
+ *     This symbol, if defined, indicates that the pthread_attr_setscope
+ *     system call is available to set the contention scope attribute of
+ *     a thread attribute object.
+ */
+/*#define HAS_PTHREAD_ATTR_SETSCOPE            / **/
+
 /* HAS_READV:
  *     This symbol, if defined, indicates that the readv routine is
  *     available to do gather reads.  You will also need <sys/uio.h>
index 518afb4..2734a9c 100644 (file)
@@ -4582,6 +4582,11 @@ $   d_sched_yield="undef"
 $   sched_yield = " "
 $ ENDIF
 $!
+$! Check for pthread_attr_setscope and PTHREAD_SCOPE_SYSTEM.
+$! (The actual test is to be written.)
+$!
+$ d_pthread_attr_setscope="undef"
+$!
 $! Check for generic pointer size
 $!
 $ echo4 "Checking to see how big your pointers are..." 
@@ -5388,6 +5393,7 @@ $ WC "d_pipe='define'"
 $ WC "d_poll='" + d_poll + "'"
 $ WC "d_procselfexe='undef'"
 $ WC "d_pthread_atfork='undef'"
+$ WC "d_pthread_attr_setscope='" + d_pthread_attr_setscope + "'"
 $ WC "d_pthread_yield='" + d_pthread_yield + "'"
 $ WC "d_pthreads_created_joinable='" + d_pthreads_created_joinable + "'"
 $ WC "d_pwage='undef'"
index 55e8d69..261ce4d 100644 (file)
@@ -313,6 +313,7 @@ d_poll='undef'
 d_portable='undef'
 d_procselfexe='undef'
 d_pthread_atfork='undef'
+d_pthread_attr_setscope='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'
index 5b509c2..cbafb38 100644 (file)
 #define PROCSELFEXE_PATH               /**/
 #endif
 
+/* HAS_PTHREAD_ATTR_SETSCOPE:
+ *     This symbol, if defined, indicates that the pthread_attr_setscope
+ *     system call is available to set the contention scope attribute of
+ *     a thread attribute object.
+ */
+/*#define HAS_PTHREAD_ATTR_SETSCOPE            / **/
+
 /* HAS_SIGPROCMASK:
  *     This symbol, if defined, indicates that the sigprocmask
  *     system call is available to examine or change the signal mask
index 2134e45..1b3b26d 100644 (file)
 #define PROCSELFEXE_PATH               /**/
 #endif
 
+/* HAS_PTHREAD_ATTR_SETSCOPE:
+ *     This symbol, if defined, indicates that the pthread_attr_setscope
+ *     system call is available to set the contention scope attribute of
+ *     a thread attribute object.
+ */
+/*#define HAS_PTHREAD_ATTR_SETSCOPE            / **/
+
 /* HAS_SIGPROCMASK:
  *     This symbol, if defined, indicates that the sigprocmask
  *     system call is available to examine or change the signal mask
index 2b5abec..f0bc351 100644 (file)
@@ -324,6 +324,7 @@ d_poll='undef'
 d_portable='define'
 d_procselfexe='undef'
 d_pthread_atfork='undef'
+d_pthread_attr_setscope='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'
index 1f7fa46..2489fd7 100644 (file)
--- a/uconfig.h
+++ b/uconfig.h
 #define PROCSELFEXE_PATH               /**/
 #endif
 
+/* HAS_PTHREAD_ATTR_SETSCOPE:
+ *     This symbol, if defined, indicates that the pthread_attr_setscope
+ *     system call is available to set the contention scope attribute of
+ *     a thread attribute object.
+ */
+/*#define HAS_PTHREAD_ATTR_SETSCOPE            / **/
+
 /* HAS_READV:
  *     This symbol, if defined, indicates that the readv routine is
  *     available to do gather reads.  You will also need <sys/uio.h>
index 4156865..f64ec02 100755 (executable)
@@ -258,6 +258,7 @@ d_poll='undef'
 d_portable='undef'
 d_procselfexe='undef'
 d_pthread_atfork='undef'
+d_pthread_attr_setscope='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'
index f601e72..1389739 100644 (file)
@@ -313,6 +313,7 @@ d_poll='undef'
 d_portable='define'
 d_procselfexe='undef'
 d_pthread_atfork='undef'
+d_pthread_attr_setscope='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'
index 43d0241..6e63d93 100644 (file)
@@ -313,6 +313,7 @@ d_poll='undef'
 d_portable='define'
 d_procselfexe='undef'
 d_pthread_atfork='undef'
+d_pthread_attr_setscope='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'
index 7b15b75..e60b990 100644 (file)
@@ -313,6 +313,7 @@ d_poll='undef'
 d_portable='define'
 d_procselfexe='undef'
 d_pthread_atfork='undef'
+d_pthread_attr_setscope='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'
index 0ed41ca..3ab5b13 100644 (file)
@@ -313,6 +313,7 @@ d_poll='undef'
 d_portable='define'
 d_procselfexe='undef'
 d_pthread_atfork='undef'
+d_pthread_attr_setscope='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'
index 11c311c..b35ea8c 100644 (file)
 #define PROCSELFEXE_PATH               /**/
 #endif
 
+/* HAS_PTHREAD_ATTR_SETSCOPE:
+ *     This symbol, if defined, indicates that the pthread_attr_setscope
+ *     system call is available to set the contention scope attribute of
+ *     a thread attribute object.
+ */
+/*#define HAS_PTHREAD_ATTR_SETSCOPE            / **/
+
 /* HAS_READV:
  *     This symbol, if defined, indicates that the readv routine is
  *     available to do gather reads.  You will also need <sys/uio.h>
index 2392b0e..7ad75a8 100644 (file)
 #define PROCSELFEXE_PATH               /**/
 #endif
 
+/* HAS_PTHREAD_ATTR_SETSCOPE:
+ *     This symbol, if defined, indicates that the pthread_attr_setscope
+ *     system call is available to set the contention scope attribute of
+ *     a thread attribute object.
+ */
+/*#define HAS_PTHREAD_ATTR_SETSCOPE            / **/
+
 /* HAS_READV:
  *     This symbol, if defined, indicates that the readv routine is
  *     available to do gather reads.  You will also need <sys/uio.h>
index d51f70d..a46c731 100644 (file)
 #define PROCSELFEXE_PATH               /**/
 #endif
 
+/* HAS_PTHREAD_ATTR_SETSCOPE:
+ *     This symbol, if defined, indicates that the pthread_attr_setscope
+ *     system call is available to set the contention scope attribute of
+ *     a thread attribute object.
+ */
+/*#define HAS_PTHREAD_ATTR_SETSCOPE            / **/
+
 /* HAS_READV:
  *     This symbol, if defined, indicates that the readv routine is
  *     available to do gather reads.  You will also need <sys/uio.h>
index 5245268..32e93b7 100644 (file)
 #define PROCSELFEXE_PATH               /**/
 #endif
 
+/* HAS_PTHREAD_ATTR_SETSCOPE:
+ *     This symbol, if defined, indicates that the pthread_attr_setscope
+ *     system call is available to set the contention scope attribute of
+ *     a thread attribute object.
+ */
+/*#define HAS_PTHREAD_ATTR_SETSCOPE            / **/
+
 /* HAS_READV:
  *     This symbol, if defined, indicates that the readv routine is
  *     available to do gather reads.  You will also need <sys/uio.h>
index 8f90906..6500d74 100644 (file)
@@ -296,6 +296,8 @@ d_pipe='undef'
 d_poll='undef'
 d_portable='define'
 d_procselfexe='undef'
+d_pthread_atfork='undef'
+d_pthread_attr_setscope='undef'
 d_pthread_yield='undef'
 d_pwage='undef'
 d_pwchange='undef'
index 029ee4d..bded386 100644 (file)
  */
 /*#define OLD_PTHREAD_CREATE_JOINABLE  /**/
 
+/* HAS_PTHREAD_ATFORK:
+ *     This symbol, if defined, indicates that the pthread_atfork routine
+ *     is available to setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK           / **/
+
 /* HAS_PTHREAD_YIELD:
  *     This symbol, if defined, indicates that the pthread_yield 
  *     routine is available to yield the execution of the current
 #define PROCSELFEXE_PATH               /**/
 #endif
 
+/* HAS_PTHREAD_ATTR_SETSCOPE:
+ *     This symbol, if defined, indicates that the pthread_attr_setscope
+ *     system call is available to set the contention scope attribute of
+ *     a thread attribute object.
+ */
+/*#define HAS_PTHREAD_ATTR_SETSCOPE            / **/
+
 /* HAS_SIGPROCMASK:
  *     This symbol, if defined, indicates that the sigprocmask
  *     system call is available to examine or change the signal mask