Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94224 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51309 invoked from network); 23 Jun 2016 13:17:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jun 2016 13:17:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.53 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 74.125.82.53 mail-wm0-f53.google.com Received: from [74.125.82.53] ([74.125.82.53:36583] helo=mail-wm0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/56-06825-671EB675 for ; Thu, 23 Jun 2016 09:17:42 -0400 Received: by mail-wm0-f53.google.com with SMTP id f126so126734132wma.1 for ; Thu, 23 Jun 2016 06:17:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:mime-version:from:in-reply-to:date:cc:message-id :references:to; bh=VnG3ETPpYpqSEmJK57MEs0rWOaj00/fXL2rgVaT6SPI=; b=pPr8iOSnHcL2zoHVQS7cE2DaIiKdsADT7XB0IaGGg59h+fQJvDyTKTA+IwVJtOzRDx Y3W+72mOPXyUCggtE42ePAnEht2FXL0r4r2EgKD7Y4d8eupJsijCSFGvpL7TNSdEqw6T 7SmrXYq8Zr4ZQmt9Q28GagkVntbVNOY4JUK9YBO6tcmnzJKa+uYniJV4PjyrjrLKH17A 7H6p+s64Nixe9dg954K6wPywSoTNV79enAi24jrbVutZnHWU+NtI/Mr8MGEwdY1AqYKT vlme2JU+HmjTVpSdtug3FXm6VYXHKpR3fVNHV+KAcK4D4G6bCzIav8gbs2sY+zvqTZ6B YXig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:from:in-reply-to :date:cc:message-id:references:to; bh=VnG3ETPpYpqSEmJK57MEs0rWOaj00/fXL2rgVaT6SPI=; b=VflTZohzc/tI1BDEhQ6DA2FU6T7Dz7E662XmMiB+2HdocCAe/oKxj2YBCRFuMRHdVC 1WNNXBNMcVVeC8T8YzZ0QeXYL/acuVLSgfVrqMvqnDZQoqWbucUpAdPTZ3dWnKVA/0NO q3aMH0dBzkPSbhMyVuiHtXbwr8H50ix11qGNU2FtOBNyLfHrwp9jO7JB64mN+my/nKEo kyB0Gl4/zl35XYrOXGGPbf934JbcjiS4hyFU4fKAIHsk8S+A5XShg+GJQ2MY0eOR0yPM Hg0BabyEeIDTprMENimxBO2etHWAOcUDgMcttEIJrrfDm0cXeVf/l+5y8tDk+V90eezN wlMQ== X-Gm-Message-State: ALyK8tJUEqrJc0sWe4vdFKM8+Q75+KrvGIF5Q0G5R0qhq7f/PSa7in0MfFlzEzmqNV8EEA== X-Received: by 10.28.69.210 with SMTP id l79mr707211wmi.31.1466687859308; Thu, 23 Jun 2016 06:17:39 -0700 (PDT) Received: from lepisma.local.m6w6.name (89-104-28-113.customer.bnet.at. [89.104.28.113]) by smtp.gmail.com with ESMTPSA id g195sm725770wme.23.2016.06.23.06.17.37 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Jun 2016 06:17:38 -0700 (PDT) Sender: Michael Wallner Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_0094CA97-386F-4B70-9BD4-5194B1487F7C"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5.2 In-Reply-To: Date: Thu, 23 Jun 2016 15:17:36 +0200 Cc: Dmitry Stogov , PHP internals Message-ID: <975D5B62-9D07-429F-9DC0-A4A38E0F9177@php.net> References: To: Nikita Popov X-Mailer: Apple Mail (2.2104) Subject: Re: [PHP-DEV] ext/pcntl asynchronous sugnal handling From: mike@php.net (Michael Wallner) --Apple-Mail=_0094CA97-386F-4B70-9BD4-5194B1487F7C Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > On 23 06 2016, at 14:28, Nikita Popov wrote: > > On Thu, Jun 23, 2016 at 2:19 PM, Dmitry Stogov wrote: > >> >> The simple patch uses the recently added into Zend Engine ability and >> allows asynchronous signal handling without extra ZEND_TICKs (without any >> run-time overhead). >> >> >> https://gist.github.com/dstogov/01d1002c1785f82eaac4b937ccaf418f >> >> >> Accepting this would probably need RFC. >> > > Line 43 should probably call orig_interrupt_function. > > I'm +10 on this change. Using ticks for interrupt handling was horrible, > and since PHP 7 doesn't really work anyway. > Another +10 here! --Apple-Mail=_0094CA97-386F-4B70-9BD4-5194B1487F7C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJXa+FwAAoJEEgOPhSwpMfHThwH/37YKd4EBghneM4Gmb8K5Jbv sxkK/Id8Lyf8nYCv8Mu3n9qUlI4xi1tXwTrIIbyyW7+O+QOgFu2CUkNJ+n79cVdG kkAE933uJnHWyrA3IreJnG01ppdWkgHG2yVIfZnq4PiMlAwiq3Jgpy/wB5CvbhWg Bq/U39VFQ7VtkG4uU/MAVPdxHCTWn7IfGAZACZ8X0QgPsShVV6s1SfeZPYw81lH+ cbx3vsyF/7iJxOIbUjDhUSawKl3YeR2bvm/VnU0xr1kF18FGw0AsZnzGPAAPHagj omG1BZbMsvoLeyvhzbobrDncBq8kZZ/MvpXkrrZB/aRi7Vkj3ol+5bNZnQRRrrU= =44x7 -----END PGP SIGNATURE----- --Apple-Mail=_0094CA97-386F-4B70-9BD4-5194B1487F7C--