Revision history for Perl extension Time::HiRes.
+1.82 [2005-10-06]
+ - CLOCK_REALTIME is an enum value (of the clockid_t enum)
+ in HP-UX (and might be so elsewhere, too), debugged by
+ H. Merijn Brand
+ - include const-c.inc as late as possible (from Randy Kobes,
+ [rt.cpan.org #15552] to avoid undefined usleep() on Win32
+
+1.81 [2005-10-05]
+ - try to be more robust and consistent in the detection of
+ CLOCK_REALTIME and ITIMER_VIRTUAL in HiRes.t: the proper
+ way is
+
+ sub has_symbol {
+ my $symbol = shift;
+ eval 'import Time::HiRes qw($symbol)';
+ return 0 unless $@ eq '';
+ return exists ${"Time::HiRes::$symbol"};
+ }
+
+ and then use
+
+ &FOO_BAR
+
+ in the test. All these moves are needed because
+
+ 1) one cannot directly do eval 'Time::HiRes::FOO_BAR'
+ because FOO_BAR might have a true value of zero
+ (or in the general case an empty string or even undef)
+
+ 2) In case FOO_BAR is not available in this platform,
+ &FOO_BAR avoids the bareword warning
+
+ - wait more (1.5 seconds instead of 0.1) for the CLOCK_REALTIME test
+ but expect the 'customary' slop of 0.20 instead of 0.25
+ - fixed inside a comment HAS_POLL -> TIME_HIRES_NANOSLEEP
+ - at the end of HiRest.t tell how close we were to termination
+
+1.80 [2005-10-04]
+ - Gisle noticed a mistake (using HAS_NANOSLEEP) in 1.79
+
+1.79 [2005-10-03]
+ - try nanosleep for emulating usleep -- may help in some weird
+ embedded realtime places which have nanosleep but neither usleep
+ nor select nor poll (doesn't have to be weird embedded realtime
+ place, though -- in many places usleep is nanosleep anyway)
+ - try poll for emulating usleep -- this may help some obscure/old
+ SVR4 places that have neither usleep nor select
+ - a redundant test guard in HiRes.t
+
+1.78 [2005-10-03]
+ - ITIMER_VIRTUAL detection in HiRes.t had problems (that we cannot
+ in the general case fail already at 'use' phase is suboptimal)
+ - fixes to the documentation of clock_gettime() and clock_getres()
+
+1.77 [2005-10-03]
+ - add support for the POSIX clock_gettime() and clock_getres(),
+ if available, either as library calls or as syscalls
+ - be more defensive about missing functionality: break out
+ early (during 'use') if no e.g. clock_getres() is available,
+ and protect our back by trapping those cases also in HiRes.xs
+ - the test added in 1.76 could cause an endless loop e.g. in Solaris,
+ due to mixing of sleep() and alarm() (bad programmer, no cookie!)
+
+1.76 [2005-10-22]
+ - testing for nanosleep had wrong logic which caused nanosleep
+ to become undefined for e.g. Mac OS X
+ - added a test for a core dump that was introduced by Perl 5.8.0
+ safe signals and was fixed for the time of 5.8.1 (one report of
+ the core dump was [perl #20920]), the test skipped pre-5.8.1.
+ - *cough* s/unanosleep/nanosleep/g; *cough*
+
+1.75 [2005-10-18]
+ - installation patch from Gisle Aas: in Perls 5.8.x and later
+ use MakeMaker INSTALLDIRS value of 'perl' instead of 'site'.
+
1.74 [2005-09-19]
- [cpan #14608] Solaris 8 perl 5.005_03 File::Spec module does not have method rel2abs
(the workaround is not to use rel2abs, should not be necessary)
- fix the 'hierachy' typo in Makefile.PL [rt.cpan.org #8492]
- should now build in Solaris [rt.cpan.org #7165] (since 1.64)
- should now build in Cygwin [rt.cpan.org #7535] (since 1.64)
- - close also [rt.cpan.org #5933] "Time::HiRes::time does not pick up time adjustments like ntp" since ever reproducing it in the same environment
+ - close also [rt.cpan.org #5933] "Time::HiRes::time does not
+ pick up time adjustments like ntp" since ever reproducing it
+ (and therefore verifying a possible fix) in the same environment
has become rather unlikely
1.65 [2004-09-18]