On Thu, Nov 01, 2007 at 11:00:21PM +0100, Matthijs Melchior wrote:
>Time::HiRes ualarm does not work anymore.
>
>The following command will demonstrate the error from the
>'setitimer' system call:
>
>strace perl -e 'use Time::HiRes qw(ualarm); ualarm 2000000; sleep 4; ualarm 
>200000; sleep 4'

Works for me:

    [gkar:~]  strace -enanosleep perl -MTime::HiRes=usleep -e 'usleep 2000000'
    nanosleep({2, 0}, {2, 0})               = 0
    nanosleep({0, 0}, NULL)                 = 0
    Process 12403 detached
    [gkar:~] uname -a
    Linux gkar 2.6.22-2-amd64 #1 SMP Thu Aug 30 23:43:59 UTC 2007 x86_64 
GNU/Linux

--bod



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to