summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-12 23:22:42 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-12 23:22:42 +0000
commitd6483fcc6b9636fb9ad881a6e0c80aace64f8f99 (patch)
treeb646898b871af71b53e38d0abbe98185da059d61
parent23ba2776be77727c92aae8a457da21461a9125f3 (diff)
downloadperl-d6483fcc6b9636fb9ad881a6e0c80aace64f8f99.tar.gz
Add HAS_PTHREAD_ATFORK.
p4raw-id: //depot/perl@11334
-rwxr-xr-xConfigure8
-rw-r--r--NetWare/config.wc1
-rw-r--r--NetWare/config_H.wc8
-rw-r--r--Porting/Glossary5
-rw-r--r--Porting/config.sh11
-rw-r--r--Porting/config_H8
-rw-r--r--config_h.SH6
-rw-r--r--configure.com1
-rw-r--r--epoc/config.sh1
-rw-r--r--pod/perltoc.pod2
-rw-r--r--uconfig.h8
-rwxr-xr-xuconfig.sh1
-rw-r--r--vos/config.alpha.def1
-rw-r--r--vos/config.alpha.h8
-rw-r--r--vos/config.ga.def1
-rw-r--r--vos/config.ga.h8
-rw-r--r--win32/config.bc1
-rw-r--r--win32/config.gc1
-rw-r--r--win32/config.vc1
-rw-r--r--win32/config_H.bc8
-rw-r--r--win32/config_H.gc8
-rw-r--r--win32/config_H.vc8
22 files changed, 90 insertions, 15 deletions
diff --git a/Configure b/Configure
index 8a29a8426d..69e7246794 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Thu Jul 12 07:32:38 EET DST 2001 [metaconfig 3.0 PL70]
+# Generated on Fri Jul 13 03:14:01 EET DST 2001 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -477,6 +477,7 @@ d_poll=''
d_portable=''
d_old_pthread_create_joinable=''
old_pthread_create_joinable=''
+d_pthread_atfork=''
d_pthread_yield=''
d_sched_yield=''
sched_yield=''
@@ -11328,6 +11329,10 @@ eval $inlibc
set poll d_poll
eval $inlibc
+: see if pthread_atfork exists
+set pthread_atfork d_pthread_atfork
+eval $inlibc
+
: see whether the various POSIXish _yields exist
$cat >try.c <<EOP
@@ -16803,6 +16808,7 @@ d_phostname='$d_phostname'
d_pipe='$d_pipe'
d_poll='$d_poll'
d_portable='$d_portable'
+d_pthread_atfork='$d_pthread_atfork'
d_pthread_yield='$d_pthread_yield'
d_pwage='$d_pwage'
d_pwchange='$d_pwchange'
diff --git a/NetWare/config.wc b/NetWare/config.wc
index c4492baaaf..d47f3a68e2 100644
--- a/NetWare/config.wc
+++ b/NetWare/config.wc
@@ -246,6 +246,7 @@ d_phostname='undef'
d_pipe='define'
d_poll='undef'
d_portable='define'
+d_pthread_atfork='undef'
d_pthread_yield='undef'
d_pwage='undef'
d_pwchange='undef'
diff --git a/NetWare/config_H.wc b/NetWare/config_H.wc
index c3428f777b..eb3c2e0e5f 100644
--- a/NetWare/config_H.wc
+++ b/NetWare/config_H.wc
@@ -2933,7 +2933,7 @@
* This macro is to be used to generate uniformly distributed
* random numbers over the range [0., 1.[. You may have to supply
* an 'extern double drand48();' in your program since SunOS 4.1.3
- * doesn't provide you with anything relevant in it's headers.
+ * doesn't provide you with anything relevant in its headers.
* See HAS_DRAND48_PROTO.
*/
/* Rand_seed_t:
@@ -3446,4 +3446,10 @@
*/
/*#define HAS_USLEEP_PROTO /**/
+/* HAS_PTHREAD_ATFORK:
+ * This symbol, if defined, indicates that the pthread_atfork routine
+ * is available setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK /**/
+
#endif
diff --git a/Porting/Glossary b/Porting/Glossary
index 3baf6e6b9b..db66cb917b 100644
--- a/Porting/Glossary
+++ b/Porting/Glossary
@@ -1209,6 +1209,11 @@ d_PRIXU64 (quadfio.U):
The 'U' in the name is to separate this from d_PRIx64 so that even
case-blind systems can see the difference.
+d_pthread_atfork (d_pthread_atfork.U):
+ This variable conditionally defines the HAS_PTHREAD_ATFORK symbol,
+ which indicates to the C program that the pthread_atfork()
+ routine is available.
+
d_pthread_yield (d_pthread_y.U):
This variable conditionally defines the HAS_PTHREAD_YIELD
symbol if the pthread_yield routine is available to yield
diff --git a/Porting/config.sh b/Porting/config.sh
index 37410bdfed..24592e92f0 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -8,7 +8,7 @@
# Package name : perl5
# Source directory : .
-# Configuration time: Thu Jul 12 21:13:57 EET DST 2001
+# Configuration time: Fri Jul 13 03:15:46 EET DST 2001
# Configured by : jhi
# Target system : osf1 alpha.hut.fi v4.0 878 alpha
@@ -63,7 +63,7 @@ ccsymbols='__alpha=1 __LANGUAGE_C__=1 __osf__=1 __unix__=1 _LONGLONG=1 _SYSTYPE_
ccversion='V5.6-082'
cf_by='jhi'
cf_email='yourname@yourhost.yourplace.com'
-cf_time='Thu Jul 12 21:13:57 EET DST 2001'
+cf_time='Fri Jul 13 03:15:46 EET DST 2001'
charsize='1'
chgrp=''
chmod='chmod'
@@ -275,6 +275,7 @@ d_phostname='undef'
d_pipe='define'
d_poll='define'
d_portable='define'
+d_pthread_atfork='define'
d_pthread_yield='undef'
d_pwage='undef'
d_pwchange='undef'
@@ -672,7 +673,7 @@ patchlevel='7'
path_sep=':'
perl5='/u/vieraat/vieraat/jhi/Perl/bin//perl'
perl=''
-perl_patchlevel='11277'
+perl_patchlevel='11326'
perladmin='yourname@yourhost.yourplace.com'
perllibs='-lm -liconv -lutil -lpthread -lexc'
perlpath='/opt/perl/bin/perl'
@@ -840,7 +841,7 @@ vendorlibexp=''
vendorprefix=''
vendorprefixexp=''
version='5.7.1'
-version_patchlevel_string='version 7 subversion 1 patch 11277'
+version_patchlevel_string='version 7 subversion 1 patch 11326'
versiononly='define'
vi=''
voidflags='15'
@@ -873,7 +874,7 @@ PERL_SUBVERSION=1
PERL_API_REVISION=5
PERL_API_VERSION=5
PERL_API_SUBVERSION=0
-PERL_PATCHLEVEL=11277
+PERL_PATCHLEVEL=11326
PERL_CONFIG_SH=true
# Variables propagated from previous config.sh file.
pp_sys_cflags='ccflags="$ccflags -DNO_EFF_ONLY_OK"'
diff --git a/Porting/config_H b/Porting/config_H
index 5c4e8dceb5..6110ca4b20 100644
--- a/Porting/config_H
+++ b/Porting/config_H
@@ -17,7 +17,7 @@
/*
* Package name : perl5
* Source directory : .
- * Configuration time: Thu Jul 12 21:13:57 EET DST 2001
+ * Configuration time: Fri Jul 13 03:15:46 EET DST 2001
* Configured by : jhi
* Target system : osf1 alpha.hut.fi v4.0 878 alpha
*/
@@ -3457,4 +3457,10 @@
*/
#define I_LANGINFO /**/
+/* HAS_PTHREAD_ATFORK:
+ * This symbol, if defined, indicates that the pthread_atfork routine
+ * is available setup fork handlers.
+ */
+#define HAS_PTHREAD_ATFORK /**/
+
#endif
diff --git a/config_h.SH b/config_h.SH
index d80ccda73b..e3c4a06b4a 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -3477,5 +3477,11 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$i_langinfo I_LANGINFO /**/
+/* HAS_PTHREAD_ATFORK:
+ * This symbol, if defined, indicates that the pthread_atfork routine
+ * is available setup fork handlers.
+ */
+#$d_pthread_atfork HAS_PTHREAD_ATFORK /**/
+
#endif
!GROK!THIS!
diff --git a/configure.com b/configure.com
index 73880ac851..43cce9f2d1 100644
--- a/configure.com
+++ b/configure.com
@@ -5155,6 +5155,7 @@ $ WC "d_perl_otherlibdirs='undef'"
$ WC "d_phostname='" + d_phostname + "'"
$ WC "d_pipe='define'"
$ WC "d_poll='undef'"
+$ WC "d_pthread_atfork='undef'"
$ 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 772e30dc89..e628e1b7f1 100644
--- a/epoc/config.sh
+++ b/epoc/config.sh
@@ -263,6 +263,7 @@ d_phostname='undef'
d_pipe='undef'
d_poll='undef'
d_portable='undef'
+d_pthread_atfork='undef'
d_pthread_yield='undef'
d_pwage='undef'
d_pwchange='undef'
diff --git a/pod/perltoc.pod b/pod/perltoc.pod
index 869975cfe7..f1083fac90 100644
--- a/pod/perltoc.pod
+++ b/pod/perltoc.pod
@@ -4578,7 +4578,7 @@ I<The Road goes ever on and on, down from the door where it began.>
=back
-=head2 perl572delta, perl571delta - what's new for perl v5.7.2
+=head2 perl572delta - what's new for perl v5.7.2
=over 4
diff --git a/uconfig.h b/uconfig.h
index dfea3c1c48..4dcddc81ec 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -2933,7 +2933,7 @@
* This macro is to be used to generate uniformly distributed
* random numbers over the range [0., 1.[. You may have to supply
* an 'extern double drand48();' in your program since SunOS 4.1.3
- * doesn't provide you with anything relevant in it's headers.
+ * doesn't provide you with anything relevant in its headers.
* See HAS_DRAND48_PROTO.
*/
/* Rand_seed_t:
@@ -3453,4 +3453,10 @@
*/
/*#define I_LANGINFO / **/
+/* HAS_PTHREAD_ATFORK:
+ * This symbol, if defined, indicates that the pthread_atfork routine
+ * is available setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK / **/
+
#endif
diff --git a/uconfig.sh b/uconfig.sh
index 175b72ebbd..0604c86bfd 100755
--- a/uconfig.sh
+++ b/uconfig.sh
@@ -206,6 +206,7 @@ d_phostname='undef'
d_pipe='undef'
d_poll='undef'
d_portable='undef'
+d_pthread_atfork='undef'
d_pthread_yield='undef'
d_pwage='undef'
d_pwchange='undef'
diff --git a/vos/config.alpha.def b/vos/config.alpha.def
index 6c4b1746d6..6400dfa530 100644
--- a/vos/config.alpha.def
+++ b/vos/config.alpha.def
@@ -183,6 +183,7 @@ $d_perl_otherlibdirs='undef'
$d_phostname='undef'
$d_pipe='define'
$d_poll='define'
+$d_pthread_atfork='undef'
$d_pthread_yield='undef'
$d_pwage='undef'
$d_pwchange='undef'
diff --git a/vos/config.alpha.h b/vos/config.alpha.h
index 7f108eb5d1..839556e64f 100644
--- a/vos/config.alpha.h
+++ b/vos/config.alpha.h
@@ -2933,7 +2933,7 @@
* This macro is to be used to generate uniformly distributed
* random numbers over the range [0., 1.[. You may have to supply
* an 'extern double drand48();' in your program since SunOS 4.1.3
- * doesn't provide you with anything relevant in it's headers.
+ * doesn't provide you with anything relevant in its headers.
* See HAS_DRAND48_PROTO.
*/
/* Rand_seed_t:
@@ -3453,4 +3453,10 @@
*/
/*#define I_LANGINFO /**/
+/* HAS_PTHREAD_ATFORK:
+ * This symbol, if defined, indicates that the pthread_atfork routine
+ * is available setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK /**/
+
#endif
diff --git a/vos/config.ga.def b/vos/config.ga.def
index 8512751095..6144bac2c7 100644
--- a/vos/config.ga.def
+++ b/vos/config.ga.def
@@ -183,6 +183,7 @@ $d_perl_otherlibdirs='undef'
$d_phostname='undef'
$d_pipe='define'
$d_poll='define'
+$d_pthread_atfork='undef'
$d_pthread_yield='undef'
$d_pwage='undef'
$d_pwchange='undef'
diff --git a/vos/config.ga.h b/vos/config.ga.h
index 80a418a294..4db74992e9 100644
--- a/vos/config.ga.h
+++ b/vos/config.ga.h
@@ -2933,7 +2933,7 @@
* This macro is to be used to generate uniformly distributed
* random numbers over the range [0., 1.[. You may have to supply
* an 'extern double drand48();' in your program since SunOS 4.1.3
- * doesn't provide you with anything relevant in it's headers.
+ * doesn't provide you with anything relevant in its headers.
* See HAS_DRAND48_PROTO.
*/
/* Rand_seed_t:
@@ -3453,4 +3453,10 @@
*/
/*#define I_LANGINFO /**/
+/* HAS_PTHREAD_ATFORK:
+ * This symbol, if defined, indicates that the pthread_atfork routine
+ * is available setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK /**/
+
#endif
diff --git a/win32/config.bc b/win32/config.bc
index 1ffa2f816a..7d6cebefbf 100644
--- a/win32/config.bc
+++ b/win32/config.bc
@@ -259,6 +259,7 @@ d_phostname='undef'
d_pipe='define'
d_poll='undef'
d_portable='define'
+d_pthread_atfork='undef'
d_pthread_yield='undef'
d_pwage='undef'
d_pwchange='undef'
diff --git a/win32/config.gc b/win32/config.gc
index bd3f4013d3..9b03d12828 100644
--- a/win32/config.gc
+++ b/win32/config.gc
@@ -259,6 +259,7 @@ d_phostname='undef'
d_pipe='define'
d_poll='undef'
d_portable='define'
+d_pthread_atfork='undef'
d_pthread_yield='undef'
d_pwage='undef'
d_pwchange='undef'
diff --git a/win32/config.vc b/win32/config.vc
index 486c5e28b5..9909393513 100644
--- a/win32/config.vc
+++ b/win32/config.vc
@@ -259,6 +259,7 @@ d_phostname='undef'
d_pipe='define'
d_poll='undef'
d_portable='define'
+d_pthread_atfork='undef'
d_pthread_yield='undef'
d_pwage='undef'
d_pwchange='undef'
diff --git a/win32/config_H.bc b/win32/config_H.bc
index 9d0a660b61..8bb5fc9299 100644
--- a/win32/config_H.bc
+++ b/win32/config_H.bc
@@ -2933,7 +2933,7 @@
* This macro is to be used to generate uniformly distributed
* random numbers over the range [0., 1.[. You may have to supply
* an 'extern double drand48();' in your program since SunOS 4.1.3
- * doesn't provide you with anything relevant in it's headers.
+ * doesn't provide you with anything relevant in its headers.
* See HAS_DRAND48_PROTO.
*/
/* Rand_seed_t:
@@ -3453,4 +3453,10 @@
*/
/*#define I_LANGINFO /**/
+/* HAS_PTHREAD_ATFORK:
+ * This symbol, if defined, indicates that the pthread_atfork routine
+ * is available setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK /**/
+
#endif
diff --git a/win32/config_H.gc b/win32/config_H.gc
index 5556170983..0aee697a17 100644
--- a/win32/config_H.gc
+++ b/win32/config_H.gc
@@ -2933,7 +2933,7 @@
* This macro is to be used to generate uniformly distributed
* random numbers over the range [0., 1.[. You may have to supply
* an 'extern double drand48();' in your program since SunOS 4.1.3
- * doesn't provide you with anything relevant in it's headers.
+ * doesn't provide you with anything relevant in its headers.
* See HAS_DRAND48_PROTO.
*/
/* Rand_seed_t:
@@ -3453,4 +3453,10 @@
*/
/*#define I_LANGINFO /**/
+/* HAS_PTHREAD_ATFORK:
+ * This symbol, if defined, indicates that the pthread_atfork routine
+ * is available setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK /**/
+
#endif
diff --git a/win32/config_H.vc b/win32/config_H.vc
index 53da567f87..3585653df3 100644
--- a/win32/config_H.vc
+++ b/win32/config_H.vc
@@ -2933,7 +2933,7 @@
* This macro is to be used to generate uniformly distributed
* random numbers over the range [0., 1.[. You may have to supply
* an 'extern double drand48();' in your program since SunOS 4.1.3
- * doesn't provide you with anything relevant in it's headers.
+ * doesn't provide you with anything relevant in its headers.
* See HAS_DRAND48_PROTO.
*/
/* Rand_seed_t:
@@ -3453,4 +3453,10 @@
*/
/*#define I_LANGINFO /**/
+/* HAS_PTHREAD_ATFORK:
+ * This symbol, if defined, indicates that the pthread_atfork routine
+ * is available setup fork handlers.
+ */
+/*#define HAS_PTHREAD_ATFORK /**/
+
#endif