From: Jarkko Hietaniemi Date: Thu, 12 Jul 2001 23:22:42 +0000 (+0000) Subject: Add HAS_PTHREAD_ATFORK. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d6483fcc6b9636fb9ad881a6e0c80aace64f8f99;p=p5sagit%2Fp5-mst-13.2.git Add HAS_PTHREAD_ATFORK. p4raw-id: //depot/perl@11334 --- diff --git a/Configure b/Configure index 8a29a84..69e7246 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$$ <try.c <$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 73880ac..43cce9f 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 772e30d..e628e1b 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 869975c..f1083fa 100644 --- a/pod/perltoc.pod +++ b/pod/perltoc.pod @@ -4578,7 +4578,7 @@ I =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 dfea3c1..4dcddc8 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 175b72e..0604c86 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 6c4b174..6400dfa 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 7f108eb..839556e 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 8512751..6144bac 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 80a418a..4db7499 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 1ffa2f8..7d6cebe 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 bd3f401..9b03d12 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 486c5e2..9909393 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 9d0a660..8bb5fc9 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 5556170..0aee697 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 53da567..3585653 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