Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94309 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79100 invoked from network); 28 Jun 2016 17:25:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jun 2016 17:25:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=bobwei9@hotmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=bobwei9@hotmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.com designates 65.55.111.86 as permitted sender) X-PHP-List-Original-Sender: bobwei9@hotmail.com X-Host-Fingerprint: 65.55.111.86 blu004-omc2s11.hotmail.com Received: from [65.55.111.86] ([65.55.111.86:59737] helo=BLU004-OMC2S11.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 28/16-41838-903B2775 for ; Tue, 28 Jun 2016 13:25:31 -0400 Received: from BLU436-SMTP72 ([65.55.111.72]) by BLU004-OMC2S11.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Tue, 28 Jun 2016 10:25:27 -0700 X-TMN: [VD2Bn5Qe2LWeyxCaatqONcKr216U2o+z] X-Originating-Email: [bobwei9@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="Apple-Mail=_3C74BC80-A473-46DF-BF80-DC0414AF29A7" MIME-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) In-Reply-To: Date: Tue, 28 Jun 2016 19:25:22 +0200 CC: Dmitry Stogov , PHP internals References: To: Nikita Popov X-Mailer: Apple Mail (2.3112) X-OriginalArrivalTime: 28 Jun 2016 17:25:25.0338 (UTC) FILETIME=[0EA883A0:01D1D162] Subject: Re: [PHP-DEV] [RFC] [Vote] Asynchronous Signal Handling From: bobwei9@hotmail.com (Bob Weinand) --Apple-Mail=_3C74BC80-A473-46DF-BF80-DC0414AF29A7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" > Am 28.06.2016 um 18:41 schrieb Nikita Popov : >=20 > On Tue, Jun 28, 2016 at 6:16 PM, Dmitry Stogov = wrote: >=20 >> Hi internals, >>=20 >>=20 >> The RFC has been moved into voting stage: >>=20 >>=20 >> https://wiki.php.net/rfc/async_signals >>=20 >>=20 >> Thanks. Dmitry. >>=20 >=20 > What about Bob's suggestion to add a flag (for disabling async = signals) to > pcntl_signal() instead of having a global option? >=20 > In any case, imho the default for this should be on, not off. Default = "on" > matches the PHP 5 behavior better than "off". >=20 > Nikita The reason I've chosen to not pursue this: In the next major PHP version we may remove ability of manual signal = handling and corresponding pcntl.async_signals INI directive or = pcntl_async_signals() function. Thus I don't see much sense in adding complicated logic (extra = parameter) if we're anyway going to remove that. After all, current sync handling can be changed to add to an array and = then read the triggered signals from that array. Thus synchronous handling can be abolished. The only reason we really = needed true sync dispatching before was it not being too reliable and = relying on ticks. Bob= --Apple-Mail=_3C74BC80-A473-46DF-BF80-DC0414AF29A7--