Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: waitpid(-1, WNOHANG) is hanging

by runrig (Abbot)
on Aug 11, 2015 at 20:50 UTC ( [id://1138237]=note: print w/replies, xml ) Need Help??


in reply to waitpid(-1, WNOHANG) is hanging

Everything happens so quickly, you spawn all 3 processes by the time you are calling the handler to reap the first one, so the handler reaps all 3. Or close enough. It seems one of the later processes also triggers the handler, but it's already been reaped from the first call. All wrong nevermind.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-04-25 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found