Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39253 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5038 invoked from network); 24 Jul 2008 05:00:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jul 2008 05:00:19 -0000 Authentication-Results: pb1.pair.com header.from=lnealan@facebook.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=lnealan@facebook.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain facebook.com designates 204.15.23.140 as permitted sender) X-PHP-List-Original-Sender: lnealan@facebook.com X-Host-Fingerprint: 204.15.23.140 fw-sf2p.facebook.com Received: from [204.15.23.140] ([204.15.23.140:51682] helo=mailout-sf2p.facebook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 71/D4-61638-06C08884 for ; Thu, 24 Jul 2008 01:00:18 -0400 Received: from sf2pmxf02.TheFacebook.com (sf2pmxf02.thefacebook.com [192.168.16.13]) by pp01.sf2p.tfbnw.net (8.14.1/8.14.1) with ESMTP id m6O50AHT009104; Wed, 23 Jul 2008 22:00:10 -0700 Received: from Sf2pmxb04.TheFacebook.com ([192.168.16.99]) by sf2pmxf02.TheFacebook.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 23 Jul 2008 22:00:10 -0700 Received: from 192.168.16.11 ([192.168.16.11]) by Sf2pmxb04.TheFacebook.com ([192.168.16.99]) with Microsoft Exchange Server HTTP-DAV ; Thu, 24 Jul 2008 05:00:09 +0000 References: <48871835.60502@daylessday.org> <48871914.9080501@macvicar.net> <4887197E.3030404@daylessday.org> <4887706F.5020702@zend.com> Message-ID: To: "Stanislav Malyshev" In-Reply-To: <4887706F.5020702@zend.com> Content-Type: text/plain; format=flowed; delsp=yes; charset="us-ascii" thread-topic: [PHP-DEV] [RFC] Zend Signal Handling thread-index: AcjtSiXHis7qywuMS46PO0Jf7mL5Fw== Content-Transfer-Encoding: 7bit MIME-Version: 1.0 (iPhone Mail 5A345) Date: Wed, 23 Jul 2008 22:00:25 -0700 Cc: "Antony Dovgal" , "Scott MacVicar" , X-OriginalArrivalTime: 24 Jul 2008 05:00:10.0776 (UTC) FILETIME=[2667D180:01C8ED4A] X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.7160:2.4.4,1.2.40,4.0.166 definitions=2008-07-24_01:2008-07-24,2008-07-24,2008-07-24 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0805090000 definitions=main-0807230243 Subject: Re: [PHP-DEV] [RFC] Zend Signal Handling From: lnealan@facebook.com ("Lucas Nealan") I was waiting after Rasmus said he wanted to compare to the internal Signals code they have at Yahoo before asking againd about inclusion. Gopal is familiar with the Yahoo code as well and we're planning to get together tomorrow and to review and make sure there aren't any critial oversights on this implementation. If the timeline allows 5.3 would be great but we may want to wait until Friday to commit. It makes sense to me to enable by default on systems that have sigaction and disable on those without. This happens curretly in the patch if it's enabled and not present. I did check some discussions from other projects where this has come up and of was found to be available on almost all systems a number of years ago. I can dig this up and add to the rfc soon. -lucas (mobile) On Jul 23, 2008, at 10:55, "Stanislav Malyshev" wrote: > Hi! > >> Do we really need this option? >> Is someone going to disable it and why? > > I see only reason to disable it if one has some weird system where > sigaction is either absent or doesn't work as it should. Not that I > know of any, but Unix variants are full of surprises. > I'd keep it enabled by default, unless we are on OS that doesn't > have sigaction (e.g. Windows or some extremely weird Unix) or in > ZTS, of course. > -- > Stanislav Malyshev, Zend Software Architect > stas@zend.com http://www.zend.com/ > (408)253-8829 MSN: stas@zend.com