From ff7df920e39ddd3df5ebcc5a06e803af9c883004 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Sat, 17 Dec 2005 19:21:35 +0000 Subject: Upgrade to Time-HiRes-1.86 p4raw-id: //depot/perl@26394 --- ext/Time/HiRes/HiRes.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ext/Time/HiRes/HiRes.pm') diff --git a/ext/Time/HiRes/HiRes.pm b/ext/Time/HiRes/HiRes.pm index d8a1832e9e..964e4385df 100644 --- a/ext/Time/HiRes/HiRes.pm +++ b/ext/Time/HiRes/HiRes.pm @@ -21,7 +21,7 @@ require DynaLoader; d_nanosleep d_clock_gettime d_clock_getres d_clock d_clock_nanosleep); -$VERSION = '1.85'; +$VERSION = '1.86'; $XS_VERSION = $VERSION; $VERSION = eval $VERSION; @@ -114,7 +114,8 @@ Time::HiRes - High resolution alarm, sleep, gettimeofday, interval timers $realtime = clock_gettime(CLOCK_REALTIME); $resolution = clock_getres(CLOCK_REALTIME); - clock_nanosleep(CLOCK_REALTIME, 1.5, TIMER_ABSTIME); + clock_nanosleep(CLOCK_REALTIME, 1.5); + clock_nanosleep(CLOCK_REALTIME, time() + 10, TIMER_ABSTIME); my $ticktock = clock(); @@ -353,8 +354,8 @@ The time returned also includes the process times of the terminated child processes for which wait() has been executed. This value is somewhat like the second value returned by the times() of core Perl, but not necessarily identical. Note that due to backward -compatibility limitations the returned may wrap around at about 2147 -seconds or at about 36 minutes. +compatibility limitations the returned value may wrap around at about +2147 seconds or at about 36 minutes. =back -- cgit v1.2.1