Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: More than one alarm-call at a time

by blue_cowdawg (Monsignor)
on Jan 16, 2004 at 14:22 UTC ( [id://321787]=note: print w/replies, xml ) Need Help??


in reply to More than one alarm-call at a time

Once upon a time I had a similar requirement. My implementation was kinda ugly, but it worked.

What I did was spawn a child which did the alarm work. When it's alarm call timed out it sent a SIGUSRx signal to the parent. In a spool directory I had files that were used as a primitive IPC method that indicated what the signal was for.

TIMTOWTDI though...


Peter L. Berghold -- Unix Professional
Peter at Berghold dot Net
   Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-26 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found