megamic has asked for the wisdom of the Perl Monks concerning the following question:
Question regarding POE:Wheels, and they are are destroyed/reaped. Currently I use an approach where a message is sent to a Wheel, causing code in the child process to fall out of a loop and exit. This works fine but I get these annoying messages from the kernel:
!!! Child process PID:12793 reaped: !!! Child process PID:12795 reaped: !!! Child process PID:12791 reaped: !!! Child process PID:12794 reaped:
All I am really after is a way to switch these messages off. Is there a better way to destroy a Wheel, or handle the reaping of a Wheel? I have tried registering the CHLD handler with the kernel, ie.
$_KERNEL->sig( CHLD => '_sig_child' );
While my _sig_child function is called, it doesn't suppress the kernel message.
Cheersparsing XML is easy, said the data modeler to the programmer...you just look for an angle bracket and...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: destroying/reaping a POE::Wheel
by rcaputo (Chaplain) on Sep 04, 2008 at 04:18 UTC | |
by megamic (Sexton) on Sep 04, 2008 at 04:46 UTC |