On Mon 30 Sep 2002 18:35, <[EMAIL PROTECTED]> wrote:
>
> I'll concur with what Craig has just said: "undef" should be fine for all
> VMS for the time being.
>
> I took a look at the latest C RTL docs at www.openvms.compaq.com
> and found no nanosleep(). I will point out that the original patch was
> correct had there been a nanosleep in the relevant RTL.
>
> Note that it _might_ be possible with calls to sys$hiber() and sys$wake()
> to emulate a nanosleep(). Such code would need to be introduced in
> a place like vms/vms.c (my_nanosleep()?) most likely (if it would even
> work with the needed resolution).
>
> Peter Prymmer
That's up to Jarkko. He wants it for Time::HiRes.
> At 10:18 AM 9/30/2002 +0200, H.Merijn Brand wrote:
>
> >Would this be enough?
> >
> >--- configure.com 2002-09-27 13:11:04.000000000 +0200
> >+++ configure.com.new 2002-09-30 09:55:13.000000000 +0200
>
>
> Actually I don't see nanosleep present on any version of VMS, so I think
> you'd simply want the following:
>
> --- configure.com 2002-09-27 13:11:04.000000000 +0200
> +++ configure.com.new 2002-09-30 09:55:13.000000000 +0200
> @@ -5489,6 +5491,7 @@ $ WC "d_unlink_all_versions='undef'"
> $ WC "d_unordered='undef'"
> $ WC "d_usleep='" + d_usleep + "'"
> $ WC "d_usleepproto='" + d_usleep + "'"
> +$ WC "d_nanosleep='undef'"
> $ WC "d_ustat='undef'"
> $ WC "d_vendorarch='undef'"
> $ WC "d_vendorlib='undef'"
>
>
>
>
>
>
--
H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
WinNT 4, Win2K pro & WinCE 2.11. Smoking perl CORE: [EMAIL PROTECTED]
http:[EMAIL PROTECTED]/ [EMAIL PROTECTED]
send smoke reports to: [EMAIL PROTECTED], QA: http://qa.perl.org