Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: kill thread or fork processes

by jdhedden (Deacon)
on May 16, 2006 at 13:43 UTC ( [id://549754]=note: print w/replies, xml ) Need Help??


in reply to Re: kill thread or fork processes
in thread kill thread or fork processes

It would be a bit difficult for two childred to signal each other as they wouldn't know the other's PID. Better to have child and parent handle the two tasks: The parent gets the child's PID from the fork() call, and the child can get the parent's PID using ppid().

Remember: There's always one more bug.

Replies are listed 'Best First'.
Re^3: kill thread or fork processes
by blazar (Canon) on May 16, 2006 at 13:46 UTC

    That's what I meant. I guess... ;-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-04-23 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found