Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39471 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74105 invoked from network); 30 Jul 2008 16:49:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jul 2008 16:49:26 -0000 Authentication-Results: pb1.pair.com header.from=andi@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=andi@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.163 as permitted sender) X-PHP-List-Original-Sender: andi@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:30700] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/59-60483-49B90984 for ; Wed, 30 Jul 2008 12:49:25 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 30 Jul 2008 19:50:03 +0300 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 30 Jul 2008 09:49:47 -0700 Message-ID: <698DE66518E7CA45812BD18E807866CE01D57535@us-ex1.zend.net> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] [RFC] Zend Signal Handling Thread-Index: AcjtXrfVTp4HLTO0SCi6Kpdtj+rOAQFBPYyQ References: <48871835.60502@daylessday.org> <48871914.9080501@macvicar.net> <4887197E.3030404@daylessday.org> <4887706F.5020702@zend.com> To: "Pierre Joye" , "Stas Malyshev" Cc: "Antony Dovgal" , "Scott MacVicar" , "Lucas Nealan" , X-OriginalArrivalTime: 30 Jul 2008 16:50:03.0038 (UTC) FILETIME=[4FD9BBE0:01C8F264] Subject: RE: [PHP-DEV] [RFC] Zend Signal Handling From: andi@zend.com ("Andi Gutmans") I would need to look into this in more detail but I am not sure sigaction is supported. In any case, these APIs on Windows tend to be more for POSIX compliance and not the "Windows way" so I am not sure there'd be a lot of value in supporting it. In any case, you should probably still take a look but keep this in mind when you're looking at MSDN :) Andi > -----Original Message----- > From: Pierre Joye [mailto:pierre.php@gmail.com] > Sent: Thursday, July 24, 2008 12:27 AM > To: Stas Malyshev > Cc: Antony Dovgal; Scott MacVicar; Lucas Nealan; internals@lists.php.net; Andi > Gutmans > Subject: Re: [PHP-DEV] [RFC] Zend Signal Handling >=20 > On Wed, Jul 23, 2008 at 7:54 PM, 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. >=20 > Windows has signal (and SigAction) support. Obviously (sigh) not using > the same API but it is possible to achieve the same behaviors using > the windows API. For example, there is already exception for special > cases like SIGALRM, windows API also uses a timer (CreateWaitableTimer > & co). Once the code is in cvs, I can give it a try to port > zend_signal to windows (not before alpha1 but before alpha2 :) >=20 > Cheers, > -- > Pierre >=20 > http://blog.thepimp.net | http://www.libgd.org