]> git.evergreen-ils.org Git - working/OpenSRF.git/commit
LP1204123 Set SIGCHLD handler to DEFAULT for children (perl)
authorBill Erickson <berick@esilibrary.com>
Wed, 26 Jun 2013 18:51:52 +0000 (14:51 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 23 Jul 2013 14:41:41 +0000 (10:41 -0400)
commitef06624ef535ed9397cbf992cc8127af3d55d489
tree8306b18a0664277fcf4d428b1e02137564322c5f
parentcd6dcccb7b21d5afe0ff38d901a806e6415c496e
LP1204123 Set SIGCHLD handler to DEFAULT for children (perl)

Remove the special SIGCHLD handler applied to the parent/listener
process from spawned child processes (drones) by setting child handler to
DEFAULT.  Otherwise, if an OpenSRF drone process spawns a sub-process,
the drone will execute the SIGCHLD handler meant for the Listener when
the sub-process dies, wherein hijinks ensue.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
src/perl/lib/OpenSRF/Server.pm