Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39255 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45537 invoked from network); 24 Jul 2008 07:28:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jul 2008 07:28:44 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.226 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.198.226 rv-out-0506.google.com Received: from [209.85.198.226] ([209.85.198.226:39872] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 94/00-44225-02F28884 for ; Thu, 24 Jul 2008 03:28:35 -0400 Received: by rv-out-0506.google.com with SMTP id g37so2267414rvb.23 for ; Thu, 24 Jul 2008 00:26:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=RpAY4j7QFlpkbnP7byLsGss6sJuejlommj23uuKm4IA=; b=AL/0vsnYdfhZOGdyhrCh+oehIZNikfRhqSQm+aR07eIW8jhfFNTSX5urVB7kvuiVyY LjmVfByJPKFmf8DMf/qPt1ploQoyCCc55RUesVRj3LyLtDMPKq0MSshojK++3cMWdEfr 6DPOP8cKNX+EhDn0c/7pkGtNWc+3lsvUjGGTc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QUWz2ro3KXhjYzUzsNkF214lWZaqLBNSQj1f1FcPu6lUFqxMEn6Ha5BFsLIqZ/V4rc 8WfcEgyquzttzW0lByN9G6MD6ZxJrrDjNNDLXexK6+lV9bColf6CxwlbZZ3oOJT7pAWo xhoZQORjlvOFvqjEXLSQBdM82XLARWErq2DOo= Received: by 10.140.226.14 with SMTP id y14mr305323rvg.123.1216884401010; Thu, 24 Jul 2008 00:26:41 -0700 (PDT) Received: by 10.140.178.14 with HTTP; Thu, 24 Jul 2008 00:26:40 -0700 (PDT) Message-ID: Date: Thu, 24 Jul 2008 09:26:40 +0200 To: "Stanislav Malyshev" Cc: "Antony Dovgal" , "Scott MacVicar" , "Lucas Nealan" , internals@lists.php.net, "Andi Gutmans" In-Reply-To: <4887706F.5020702@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48871835.60502@daylessday.org> <48871914.9080501@macvicar.net> <4887197E.3030404@daylessday.org> <4887706F.5020702@zend.com> Subject: Re: [PHP-DEV] [RFC] Zend Signal Handling From: pierre.php@gmail.com ("Pierre Joye") 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. 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 :) Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org