Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: kill thread or fork processesby jdhedden (Deacon) |
on May 16, 2006 at 13:43 UTC ( [id://549754]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|