Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B2D50200C1E for ; Thu, 2 Feb 2017 19:13:11 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B1835160B57; Thu, 2 Feb 2017 18:13:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 05599160B65 for ; Thu, 2 Feb 2017 19:13:10 +0100 (CET) Received: (qmail 66604 invoked by uid 500); 2 Feb 2017 18:13:10 -0000 Mailing-List: contact dev-help@thrift.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@thrift.apache.org Delivered-To: mailing list dev@thrift.apache.org Received: (qmail 66383 invoked by uid 99); 2 Feb 2017 18:13:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Feb 2017 18:13:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7A5591A0592 for ; Thu, 2 Feb 2017 18:12:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id WVb4HviKhOAZ for ; Thu, 2 Feb 2017 18:12:53 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 9D1F25FBB2 for ; Thu, 2 Feb 2017 18:12:53 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E8368E041D for ; Thu, 2 Feb 2017 18:12:51 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A61372528D for ; Thu, 2 Feb 2017 18:12:51 +0000 (UTC) Date: Thu, 2 Feb 2017 18:12:51 +0000 (UTC) From: "James E. King, III (JIRA)" To: dev@thrift.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (THRIFT-4065) Document Perl ForkingServer signal restriction imposed by THRIFT-3848 and remove unnecessary code MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 02 Feb 2017 18:13:11 -0000 James E. King, III created THRIFT-4065: ------------------------------------------ Summary: Document Perl ForkingServer signal restriction imposed by THRIFT-3848 and remove unnecessary code Key: THRIFT-4065 URL: https://issues.apache.org/jira/browse/THRIFT-4065 Project: Thrift Issue Type: Bug Components: Perl - Library Affects Versions: 0.10.0 Environment: Ubuntu 14.04 LTS, Perl 5.18 Reporter: James E. King, III Assignee: James E. King, III The Perl ForkingServer sets SIGCHLD to be ignores so that the forks can be automatically reaped, since the ForkingServer doesn't care about the child exit code. This means any perl handler is not allowed to implement its own SIGCHLD handler. This limitation is not documented in the perl readme, but it should be. In addition, the fix for THRIFT-3848 was incomplete. Due to the fact that SIGCHLD is ignored, the _collectChildren and call to waitpid() are unnecessary and can be removed, along with the children hash, from _parent(). -- This message was sent by Atlassian JIRA (v6.3.15#6346)