Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101007 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94831 invoked from network); 1 Nov 2017 08:55:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Nov 2017 08:55:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=i@lvht.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=i@lvht.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lvht.net from 184.105.206.84 cause and error) X-PHP-List-Original-Sender: i@lvht.net X-Host-Fingerprint: 184.105.206.84 smtpproxy19.qq.com Linux 2.5 (sometimes 2.4) (4) Received: from [184.105.206.84] ([184.105.206.84:53570] helo=smtpproxy19.qq.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 71/87-07742-8EB89F95 for ; Wed, 01 Nov 2017 03:55:05 -0500 X-QQ-mid: bizesmtp1t1509526496t30d4ew5p Received: from [10.23.164.64] (unknown [222.73.196.18]) by esmtp4.qq.com (ESMTP) with id ; Wed, 01 Nov 2017 16:54:55 +0800 (CST) X-QQ-SSF: 0110000000200040F550B00A0000000 X-QQ-FEAT: 1EhIo5Oc7Yo2KnJk1v3JDq7hrRPueDYU6VhBoYiwAz0lB2g2H2/CRovKNjKll mdJ4syh72dsskLQdRnY44AqzpaebTONJ0S6pZQXg5UDDVfc6Tu3v+PusT7NdbzxUVNAMYUP Q+vUdFmxLEIHwRkcjcw60IxMa6k6puCDZfA27FaHtf91lm5TMWqYz5hnW661zaKTFJa+gS3 TAzE3BQ4xAmHzH4I6DC3v094/OolIgsA5DcWdESFlG3MtfHdZ1tEG4fxxD52CVAOitKUq6C unbTR1DwWp/jOPLHWxCkhf7xf/j+YB9X+Xqs3zktF5Sivw X-QQ-GoodBg: 0 Message-ID: Content-Type: multipart/alternative; boundary="Apple-Mail=_377E0AEA-57C3-4635-83A3-82E0A6CD641E" Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\)) Date: Wed, 1 Nov 2017 16:54:54 +0800 In-Reply-To: Cc: PHP Internals To: Dmitry Stogov References: <736B46E8-9458-4E63-8BB7-AF93A8C35F58@lvht.net> X-Mailer: Apple Mail (2.3445.4.7) X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:lvht.net:qybgforeign:qybgforeign2 X-QQ-Bgrelay: 1 Subject: Re: [PHP-DEV] RFC - Zend VM Pause API From: i@lvht.net (Haitao Lv) --Apple-Mail=_377E0AEA-57C3-4635-83A3-82E0A6CD641E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii It seems that set EG(vm_interrupt) to 1 could not stop the vm execution = but only execute the interrupt_function and continue the current = execution. However, my RFC propose to stop the current execution. > On 1 Nov 2017, at 16:07, Dmitry Stogov wrote: >=20 > Hi, >=20 > It should be possible do similar things using EG(vm_interrupt) and = zend_interrupt_function() callback (introduced in php-7.1) > ext/pcntl implements asynchronous signal handling using this. >=20 > Thanks. Dmitry. > From: Haitao Lv > Sent: Wednesday, November 1, 2017 4:19:07 AM > To: PHP Internals > Subject: [PHP-DEV] RFC - Zend VM Pause API=20 > =20 > Hi, internals, >=20 > I propose to introduce a new zend vm pause api, and here is the RPF >=20 > https://wiki.php.net/rfc/zend-vm-pause-api = >=20 > Please gave your comment. >=20 > Thank you. >=20 >=20 >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php = --Apple-Mail=_377E0AEA-57C3-4635-83A3-82E0A6CD641E--