summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cross/config.sh-arm-linux1
-rw-r--r--NetWare/config.wc1
-rw-r--r--NetWare/config_H.wc7
-rw-r--r--configure.com6
-rw-r--r--epoc/config.sh1
-rw-r--r--plan9/config.plan97
-rw-r--r--plan9/config_h.sample7
-rw-r--r--plan9/config_sh.sample1
-rw-r--r--uconfig.h7
-rwxr-xr-xuconfig.sh1
-rw-r--r--win32/config.bc1
-rw-r--r--win32/config.gc1
-rw-r--r--win32/config.vc1
-rw-r--r--win32/config.vc641
-rw-r--r--win32/config_H.bc7
-rw-r--r--win32/config_H.gc7
-rw-r--r--win32/config_H.vc7
-rw-r--r--win32/config_H.vc647
-rw-r--r--wince/config.ce2
-rw-r--r--wince/config_H.ce13
20 files changed, 86 insertions, 0 deletions
diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux
index 617be5bbc1..ee370a3096 100644
--- a/Cross/config.sh-arm-linux
+++ b/Cross/config.sh-arm-linux
@@ -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'
diff --git a/NetWare/config.wc b/NetWare/config.wc
index 60bbaaea0d..818272cf81 100644
--- a/NetWare/config.wc
+++ b/NetWare/config.wc
@@ -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'
diff --git a/NetWare/config_H.wc b/NetWare/config_H.wc
index a1f6bad0d4..1991c435a8 100644
--- a/NetWare/config_H.wc
+++ b/NetWare/config_H.wc
@@ -1815,6 +1815,13 @@
#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>
diff --git a/configure.com b/configure.com
index 518afb4632..2734a9c7b9 100644
--- a/configure.com
+++ b/configure.com
@@ -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'"
diff --git a/epoc/config.sh b/epoc/config.sh
index 55e8d691d2..261ce4dcf7 100644
--- a/epoc/config.sh
+++ b/epoc/config.sh
@@ -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'
diff --git a/plan9/config.plan9 b/plan9/config.plan9
index 5b509c25cb..cbafb389b1 100644
--- a/plan9/config.plan9
+++ b/plan9/config.plan9
@@ -3927,6 +3927,13 @@
#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
diff --git a/plan9/config_h.sample b/plan9/config_h.sample
index 2134e45e0e..1b3b26dbee 100644
--- a/plan9/config_h.sample
+++ b/plan9/config_h.sample
@@ -3872,6 +3872,13 @@
#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
diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample
index 2b5abec488..f0bc351bf8 100644
--- a/plan9/config_sh.sample
+++ b/plan9/config_sh.sample
@@ -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'
diff --git a/uconfig.h b/uconfig.h
index 1f7fa463ed..2489fd78e9 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -2670,6 +2670,13 @@
#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>
diff --git a/uconfig.sh b/uconfig.sh
index 4156865268..f64ec026ba 100755
--- a/uconfig.sh
+++ b/uconfig.sh
@@ -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'
diff --git a/win32/config.bc b/win32/config.bc
index f601e72843..138973980c 100644
--- a/win32/config.bc
+++ b/win32/config.bc
@@ -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'
diff --git a/win32/config.gc b/win32/config.gc
index 43d02415ed..6e63d9329f 100644
--- a/win32/config.gc
+++ b/win32/config.gc
@@ -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'
diff --git a/win32/config.vc b/win32/config.vc
index 7b15b752c2..e60b990a42 100644
--- a/win32/config.vc
+++ b/win32/config.vc
@@ -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'
diff --git a/win32/config.vc64 b/win32/config.vc64
index 0ed41ca429..3ab5b13361 100644
--- a/win32/config.vc64
+++ b/win32/config.vc64
@@ -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'
diff --git a/win32/config_H.bc b/win32/config_H.bc
index 11c311c723..b35ea8cdf6 100644
--- a/win32/config_H.bc
+++ b/win32/config_H.bc
@@ -2670,6 +2670,13 @@
#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>
diff --git a/win32/config_H.gc b/win32/config_H.gc
index 2392b0ee69..7ad75a819c 100644
--- a/win32/config_H.gc
+++ b/win32/config_H.gc
@@ -2670,6 +2670,13 @@
#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>
diff --git a/win32/config_H.vc b/win32/config_H.vc
index d51f70de2a..a46c73198b 100644
--- a/win32/config_H.vc
+++ b/win32/config_H.vc
@@ -2670,6 +2670,13 @@
#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>
diff --git a/win32/config_H.vc64 b/win32/config_H.vc64
index 5245268750..32e93b74bb 100644
--- a/win32/config_H.vc64
+++ b/win32/config_H.vc64
@@ -2670,6 +2670,13 @@
#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>
diff --git a/wince/config.ce b/wince/config.ce
index 8f909062d8..6500d74c1c 100644
--- a/wince/config.ce
+++ b/wince/config.ce
@@ -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'
diff --git a/wince/config_H.ce b/wince/config_H.ce
index 029ee4d6ff..bded3866b6 100644
--- a/wince/config_H.ce
+++ b/wince/config_H.ce
@@ -2008,6 +2008,12 @@
*/
/*#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
@@ -3795,6 +3801,13 @@
#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