Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:43476 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85621 invoked from network); 26 Mar 2009 00:30:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Mar 2009 00:30:59 -0000 Authentication-Results: pb1.pair.com header.from=arnaud.lb@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=arnaud.lb@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.167 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: arnaud.lb@gmail.com X-Host-Fingerprint: 209.85.218.167 mail-bw0-f167.google.com Received: from [209.85.218.167] ([209.85.218.167:57420] helo=mail-bw0-f167.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/72-30978-2CCCAC94 for ; Wed, 25 Mar 2009 19:30:59 -0500 Received: by bwz11 with SMTP id 11so317674bwz.23 for ; Wed, 25 Mar 2009 17:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=k0GI/2KCibNP52WfpuwhYgRcc8wOkbVMrUve9j0Nw4c=; b=b43Bhs39X107/sReJnhdmJZMDFpg1kec0kFf8/7D2+PTWzC6inEq0pJQHhn3X7AXQp WtWOSNu1VUnUIhbU6pQUeFJfL08K3wk5UH2KsURbCljXS9eBNUzAoZQG2wpk1EsgDiRq F9jCAluHOZAdiy63/i96KCoBUmdV7SnmX09A8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=vS0Lv6or1anzlS97rlSe+3aUmr4xtK6IgnPHNUgeQ1KWVHAeHBm4C6U1DiwQH/NE8F BgCueGYKXDb2wUWjpkmoANQjlWHKAnsvulaGmAyxohl+VkE+v1ne+2EVwsd0EFeFR15K Q6+WMxx14OdUgrSb7nLPhjbusfjzBOv+UpSAQ= Received: by 10.223.115.193 with SMTP id j1mr143063faq.98.1238027455769; Wed, 25 Mar 2009 17:30:55 -0700 (PDT) Received: from ?192.168.1.10? (207-177-41-213.getmyip.com [213.41.177.207]) by mx.google.com with ESMTPS id e17sm10323933fke.8.2009.03.25.17.30.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 25 Mar 2009 17:30:55 -0700 (PDT) Sender: Arnaud LB To: Lukas Kahwe Smith Cc: php-dev , Johannes =?ISO-8859-1?Q?Schl=FCter?= , Kalle Sommer Nielsen In-Reply-To: <9C552133-ACEE-4615-B8A3-5B16BE8660CC@pooteeweet.org> References: <1237469542.7120.81.camel@localhost> <9C552133-ACEE-4615-B8A3-5B16BE8660CC@pooteeweet.org> Content-Type: text/plain Date: Thu, 26 Mar 2009 01:30:52 +0100 Message-ID: <1238027452.4733.92.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] un-deprecating ticks ? From: lbarnaud@php.net (Arnaud Le Blanc) On Wed, 2009-03-25 at 20:05 +0100, Lukas Kahwe Smith wrote: > On 19.03.2009, at 14:32, Arnaud Le Blanc wrote: > > > Hi, > > > > After having seen some complaints about ticks being deprecated I'm > > wondering if they could be un-deprecated for now. > > > > Ticks are used by the pcntl extension to call signal handlers when > > signals are triggered. I added some functions as an alternative, but > > this does not covers all use cases (and forces a code change). > > > > When searching bug reports about ticks, one can feel the ticks to be > > broken (and this is why they have been deprecated). However, looking > > in > > depth at these bugs and viewing what caused them and how they have > > been > > fixed does not show really bad things about ticks. > > > > Actually one thing is broken (and is marked as such in the > > documentation), tick functions do not work in ZTS, this looks fixable. > > > > Any thoughts on removing the deprecation warning for now ? (at least > > until a replacement is found). > > > > Sorry for posting this so close to the freeze. > > > So what is it going to be? > I remember everybody was happy when it was deprecated. The only thread I found about that is here: http://marc.info/?l=php-internals&m=121442930703916&w=2 > Indeed the only open ticket is #47198, which is the doc bug. Or did we > close tons of ticks bugs because it was deprecated? I've seen one bug marked as wont fix for this reason. I've searched for "ticks" and looked at the last few pages of bugs, many was really bogus, or documentation issues. Some was related to register_tick_function() and are fixed. I seen nothing really bad or related to the engine. The ZTS issue looks fixable, this is a crash when using register_tick_function() due to the list of functions not being initialized in the threads. Regards, Arnaud