Skip Menu |

This queue is for tickets about the POE-Component-PreforkDispatch CPAN distribution.

Report information
The Basics
Id: 88363
Status: new
Priority: 0/
Queue: POE-Component-PreforkDispatch

People
Owner: Nobody in particular
Requestors: RCAPUTO [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.101
Fixed in: (no value)



Subject: Patch to update SIGCHLD handling
POE made improvements in SIGCHLD handling, and signals in general, sometime after this module was written. The short patch switches PreforkDispatch.pm to use sig_child() instead of sig() and to stop POE::Kernel in the child program.
Subject: preforkdispatch-sigchld-update.patch
203,205d202 < # Register signal for rpc forks exiting < $kernel->sig(CHLD => "child_exited"); < 488a486,488 > > POE::Kernel->sig_child( $wheel->PID(), 'child_exited' ); > 504a505,509 > > # Forking a running POE program brings along a copy of the running > # POE::Kernel and its sessions. We won't be using them. > POE::Kernel->stop(); >