From: H.Merijn Brand Date: Mon, 30 Sep 2002 08:29:33 +0000 (+0000) Subject: nanosleep probes as per Jarkko's request X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2d736872f25b3e41d616d46e8286fe3f13ef058d;p=p5sagit%2Fp5-mst-13.2.git nanosleep probes as per Jarkko's request p4raw-id: //depot/perl@17944 --- diff --git a/Configure b/Configure index e3faee5..4b57bcf 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 Fri Sep 13 16:29:01 METDST 2002 [metaconfig 3.0 PL70] +# Generated on Mon Sep 30 10:11:20 METDST 2002 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_msghdr_s HAS_STRUCT_MSGHDR /**/ +/* HAS_NANOSLEEP: + * This symbol, if defined, indicates that the nanosleep + * system call is available to sleep with 1E-9 sec accuracy. + */ +#$d_nanosleep HAS_NANOSLEEP /**/ + /* HAS_OFF64_T: * This symbol will be defined if the C compiler supports off64_t. */ diff --git a/epoc/config.sh b/epoc/config.sh index 7779669..dd489a5 100644 --- a/epoc/config.sh +++ b/epoc/config.sh @@ -915,6 +915,7 @@ d_getmnt='undef' d_statfs_f_flags='undef' d_statfs_s='undef' d_usleep='undef' +d_nanosleep='undef' d_ustat='undef' i_sysstatfs='undef' i_sysvfs='undef' diff --git a/perl.h b/perl.h index d5d849a..ef08cce 100644 --- a/perl.h +++ b/perl.h @@ -4275,8 +4275,9 @@ extern void moncontrol(int); NVff NVgf - HAS_USLEEP HAS_UALARM + HAS_USLEEP + HAS_NANOSLEEP HAS_SETITIMER HAS_GETITIMER diff --git a/win32/config.bc b/win32/config.bc index 483ffcd..42c8449 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -291,6 +291,7 @@ d_msgsnd='undef' d_msync='undef' d_munmap='undef' d_mymalloc='undef' +d_nanosleep='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='define' diff --git a/win32/config.gc b/win32/config.gc index 6fd4351..3c2fc0c 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -291,6 +291,7 @@ d_msgsnd='undef' d_msync='undef' d_munmap='undef' d_mymalloc='undef' +d_nanosleep='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='define' diff --git a/win32/config.vc b/win32/config.vc index 975dd9a..8d94c56 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -291,6 +291,7 @@ d_msgsnd='undef' d_msync='undef' d_munmap='undef' d_mymalloc='undef' +d_nanosleep='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='define' diff --git a/win32/config.vc64 b/win32/config.vc64 index a4280b4..fbc4308 100644 --- a/win32/config.vc64 +++ b/win32/config.vc64 @@ -291,6 +291,7 @@ d_msgsnd='undef' d_msync='undef' d_munmap='undef' d_mymalloc='undef' +d_nanosleep='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='undef' diff --git a/win32/config_H.bc b/win32/config_H.bc index 3d08698..e89d0c8 100644 --- a/win32/config_H.bc +++ b/win32/config_H.bc @@ -607,6 +607,12 @@ */ /*#define HAS_USLEEP /**/ +/* HAS_NANOSLEEP: + * This symbol, if defined, indicates that the nanosleep system + * call is available to let the process sleep with 1E-9 accuracy. + */ +/*#define HAS_NANOSLEEP /**/ + /* HASVOLATILE: * This symbol, if defined, indicates that this C compiler knows about * the volatile declaration. diff --git a/win32/config_H.gc b/win32/config_H.gc index b65a45d..5564a41 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -607,6 +607,12 @@ */ /*#define HAS_USLEEP /**/ +/* HAS_NANOSLEEP: + * This symbol, if defined, indicates that the nanosleep system + * call is available to let the process sleep with 1E-9 accuracy. + */ +/*#define HAS_NANOSLEEP /**/ + /* HASVOLATILE: * This symbol, if defined, indicates that this C compiler knows about * the volatile declaration. diff --git a/win32/config_H.vc b/win32/config_H.vc index 7d64e6b..f45fe40 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -607,6 +607,12 @@ */ /*#define HAS_USLEEP /**/ +/* HAS_NANOSLEEP: + * This symbol, if defined, indicates that the nanosleep system + * call is available to let the process sleep with 1E-9 accuracy. + */ +/*#define HAS_NANOSLEEP /**/ + /* HASVOLATILE: * This symbol, if defined, indicates that this C compiler knows about * the volatile declaration. diff --git a/win32/config_H.vc64 b/win32/config_H.vc64 index d2b6bc6..dcc2592 100644 --- a/win32/config_H.vc64 +++ b/win32/config_H.vc64 @@ -607,6 +607,12 @@ */ /*#define HAS_USLEEP /**/ +/* HAS_NANOSLEEP: + * This symbol, if defined, indicates that the nanosleep system + * call is available to let the process sleep with 1E-9 accuracy. + */ +/*#define HAS_NANOSLEEP /**/ + /* HASVOLATILE: * This symbol, if defined, indicates that this C compiler knows about * the volatile declaration. diff --git a/wince/config.ce b/wince/config.ce index 6582c1c..a467a45 100644 --- a/wince/config.ce +++ b/wince/config.ce @@ -277,6 +277,7 @@ d_msgsnd='undef' d_msync='undef' d_munmap='undef' d_mymalloc='undef' +d_nanosleep='undef' d_nice='undef' d_nv_preserves_uv='define' d_off64_t='undef' diff --git a/wince/config_H.ce b/wince/config_H.ce index 30e855a..b246ce6 100644 --- a/wince/config_H.ce +++ b/wince/config_H.ce @@ -607,6 +607,12 @@ */ /*#define HAS_USLEEP /**/ +/* HAS_NANOSLEEP: + * This symbol, if defined, indicates that the nanosleep system + * call is available to let the process sleep with 1E-9 accuracy. + */ +/*#define HAS_NANOSLEEP /**/ + /* HASVOLATILE: * This symbol, if defined, indicates that this C compiler knows about * the volatile declaration.