Skip Menu |

This queue is for tickets about the Time-HiRes CPAN distribution.

Report information
The Basics
Id: 4768
Status: resolved
Priority: 0/
Queue: Time-HiRes

People
Owner: Nobody in particular
Requestors: k.heinz-cpan [...] onlinehome.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.52
Fixed in: 1.54



Subject: nanosleep() not detected on Solaris
Solaris8 provides nanosleep(): SYNOPSIS cc [ flag... ] file... -lrt [ library... ] #include <time.h> int nanosleep(const struct timespec *rqtp, struct timespec *rmtp); Copying hints/dec_osf.pl to hints/solaris.pl (ie. using -lrt) enabled detection of nanosleep(): Using hints hints/solaris.pl... Extra libraries: -lrt... Looking for gettimeofday()... found. Looking for setitimer()... found. Looking for getitimer()... found. You have interval timers (both setitimer and setitimer). Looking for ualarm()... found. Looking for usleep()... found. Looking for nanosleep()... found. You can mix subsecond sleeps with signals. ... ===> Testing for p5-Time-HiRes-1.52 PERL_DL_NONLAZY=1 /opt/pkg/bin/perl -Iblib/arch -Iblib/lib -I/opt/pkg/lib/perl5/5.6.1/i386-solaris -I/opt/pkg/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/HiRes.............ok All tests successful. Files=1, Tests=25, 10 wallclock secs ( 2.28 cusr + 0.09 csys = 2.37 CPU)
[guest - Sat Dec 27 16:36:21 2003]: Show quoted text
> Solaris8 provides nanosleep(): > > SYNOPSIS > cc [ flag... ] file... -lrt [ library... ] > #include <time.h> > > int nanosleep(const struct timespec *rqtp, struct timespec > *rmtp); > > > Copying hints/dec_osf.pl to hints/solaris.pl (ie. using -lrt) enabled > detection of nanosleep(): > > Using hints hints/solaris.pl... > Extra libraries: -lrt... > Looking for gettimeofday()... found. > Looking for setitimer()... found. > Looking for getitimer()... found. > You have interval timers (both setitimer and setitimer). > Looking for ualarm()... found. > Looking for usleep()... found. > Looking for nanosleep()... found. > You can mix subsecond sleeps with signals. > ... > ===> Testing for p5-Time-HiRes-1.52 > PERL_DL_NONLAZY=1 /opt/pkg/bin/perl -Iblib/arch -Iblib/lib > -I/opt/pkg/lib/perl5/5.6.1/i386-solaris -I/opt/pkg/lib/perl5/5.6.1 -e > 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests > @ARGV;' t/*.t > t/HiRes.............ok > All tests successful. > Files=1, Tests=25, 10 wallclock secs ( 2.28 cusr + 0.09 csys = > 2.37 CPU) >
This will be fixed in Time::HiRes 1.54.