Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Help on crash in sleep() !

by pcouderc (Monk)
on Oct 23, 2015 at 20:39 UTC ( [id://1145814]=note: print w/replies, xml ) Need Help??


in reply to Re: Help on crash in sleep() !
in thread Help on crash in sleep() !

It seems to me that a signal would be possible only if the process would be expecting something, if we were in multithread. This is not the case. We wait 1 minute before checking new work to do. It a simple "polling". Yes it would be possible to wrap it in a main script, but I would like to understand.

Replies are listed 'Best First'.
Re^3: Help on crash in sleep() !
by Corion (Patriarch) on Oct 24, 2015 at 06:31 UTC

    Have you read the documentation link I provided?

    May be interrupted if the process receives a signal such as SIGALRM .

    So, if anything sends a signal to your process, such as SIGALRM, it might wake up or crash.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-04-19 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found