X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=ext%2FTime%2FHiRes%2FChanges;h=048912332fb041b461b7decb1434e9e79fd24ad4;hb=952306aca140c014b38ba5eb2ed71dffaa548f0f;hp=58e5be4a52f37ad07996f3150a02983c970f9ffe;hpb=e5433ad89831be48f30ff00a45f97ceccc5dde26;p=p5sagit%2Fp5-mst-13.2.git diff --git a/ext/Time/HiRes/Changes b/ext/Time/HiRes/Changes index 58e5be4..0489123 100644 --- a/ext/Time/HiRes/Changes +++ b/ext/Time/HiRes/Changes @@ -1,6 +1,88 @@ Revision history for Perl extension Time::HiRes. -1.79 [2005-10-03] +1.87 [2006-02-13] + - [rt.cpan.org #17442] 'make test' frequently fails under + Cygwin Perl v5.8.8, reported and patched by J. R. Hedden + (two race condition bugs in the END block in the case the + main process dies before the timer process, unearthed + by a bug in Cygwin ualarm) + +1.86 [2005-12-17] + - HiRes.t:s/ok 32/ok 33/, from Dominic Dunlop + - tighten up the clock() test marginally by requiring non-negative + - clock_nanosleep() and clock() doc tweaks + +1.85 [2005-12-16] + - the interface to clock_nanosleep() is more natural + when it is like (hires) time() (instead of like nanosleep), + and the .xs implementation of clock_nanosleep() in 1.84 + was broken anyway + - the semantics of clock() are not quite so silly as I thought, + but still somewhat odd, documented as such + - additional enhancements to the clock() documentation + - add test for clock_nanosleep() (I cannot test this + since none of my systems have the function) + - add test for clock() + +1.84 [2005-12-16] + - add clock() which returns the processor time in + (floating point) seconds since an arbitrary era + - add clock_nanosleep() which suspends the current + thread until either absolute time or for relative time + - [rt.cpan.org #16486] printf missing value in HiRes.t + - add constants CLOCKS_PER_SEC, CLOCK_SOFTTIME, TIMER_ABSTIME + - tiny typo fixes + +1.83 [2005-11-19] + - has_symbol() was wrong since e.g. ITIMER_VIRTUAL is exported + via @EXPORT_OK even when it is not available. This is heinous. + @EXPORT_OK should be determined at Makefile.PL time. + - be more lenient is testing clock_gettime(): allow more slop, + and retry up to three times, sleeping a random nap between + the retries + - human months are one-based (noticed by Anton Berezin) + +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-11-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-11-04] + - Gisle noticed a mistake (using HAS_NANOSLEEP) in 1.79 + +1.79 [2005-11-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 @@ -9,12 +91,12 @@ Revision history for Perl extension Time::HiRes. SVR4 places that have neither usleep nor select - a redundant test guard in HiRes.t -1.78 [2005-10-03] +1.78 [2005-11-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] +1.77 [2005-11-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 @@ -101,7 +183,9 @@ Revision history for Perl extension Time::HiRes. - 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] @@ -124,7 +208,7 @@ Revision history for Perl extension Time::HiRes. 1.63 [2004-09-01] - Win32 and any ithread build: ppport.h didn't define - MY_CXT_CLONE, which seems to be a Time-HiResism. + MY_CXT_CLONE, which seems to be a Time-HiRes-ism. 1.62 [2004-08-31] - Skip testing if under PERL_CORE and Time::HiRes has not @@ -376,7 +460,7 @@ Revision history for Perl extension Time::HiRes. - 13422: XS segfault, from Marc Lehmann - 13378: whether select() gets restarted on signals, depends - 13354: timing constraints, again, from Andy Dougherty - - 13278: can't do subecond alarms with ualarm; + - 13278: can't do subsecond alarms with ualarm; break out early if alarms do not seem to be working - 13266: test relaxation (cygwin gets lower hires times than lores ones) @@ -547,7 +631,7 @@ Revision history for Perl extension Time::HiRes. - fix EXPORT_FAIL. This work was all done by Roderick Schertler . If you run Linux or - one of the other ualarm-less platoforms, and you like this + one of the other ualarm-less platforms, and you like this module, let Roderick know; without him, it still wouldn't be working on those boxes... - Makefile.PL: figure out what routines the OS has and