Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re^3: Why is perl not honouring SIGSTOP?

by lidden (Curate)
on Mar 10, 2012 at 08:34 UTC ( #958842=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Why is perl not honouring SIGSTOP?
in thread Why is perl not honouring SIGSTOP?

I was asked my Marshall in a message to try to sleep for longer times. It seems sleep sets a time when it should wake up again and while SIGTSTP does stop the process it does not stop the passing of time. (I am guessing about how sleep works.) If you want different behaviour you have to replace sleep() with something else.

$ perl -E 'for (0..100) { say "$_: ". time %100;sleep 33;}'

Comment on Re^3: Why is perl not honouring SIGSTOP?
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://958842]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-11-30 08:14 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (765 votes), past polls