diff options
author | Steve Peters <steve@fisharerojo.org> | 2005-12-17 19:21:35 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2005-12-17 19:21:35 +0000 |
commit | ff7df920e39ddd3df5ebcc5a06e803af9c883004 (patch) | |
tree | c0e157546ad8413fd71fe65fb2566545686d7640 /ext/Time/HiRes/HiRes.pm | |
parent | ff7298cbf9257c89a24403f4c51889c5bc71c44c (diff) | |
download | perl-ff7df920e39ddd3df5ebcc5a06e803af9c883004.tar.gz |
Upgrade to Time-HiRes-1.86
p4raw-id: //depot/perl@26394
Diffstat (limited to 'ext/Time/HiRes/HiRes.pm')
-rw-r--r-- | ext/Time/HiRes/HiRes.pm | 9 |
1 files changed, 5 insertions, 4 deletions
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 |