Re: [PHP-DEV] RFC - Zend VM Pause API

2017-11-05 Thread Haitao Lv
;> On 1 Nov 2017, at 16:07, Dmitry Stogov wrote: >>> >>> Hi, >>> >>> 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 usin

Re: [PHP-DEV] RFC - Zend VM Pause API

2017-11-01 Thread Dmitry Stogov
wever, the implementation is really interesting, and I'm glad, someone is working on this. Thanks. Dmitry. From: Haitao Lv Sent: Wednesday, November 1, 2017 12:45:13 PM To: Dmitry Stogov Cc: PHP Internals Subject: Re: [PHP-DEV] RFC - Zend VM Pause API To make the

Re: [PHP-DEV] RFC - Zend VM Pause API

2017-11-01 Thread Haitao Lv
gt;> >> Thanks. Dmitry. >> From: Haitao Lv >> Sent: Wednesday, November 1, 2017 11:54:54 AM >> To: Dmitry Stogov >> Cc: PHP Internals >> Subject: Re: [PHP-DEV] RFC - Zend VM Pause API >> >> It seems that set EG(vm_interrupt) to 1 could not stop the vm

Re: [PHP-DEV] RFC - Zend VM Pause API

2017-11-01 Thread Haitao Lv
day, November 1, 2017 11:54:54 AM > To: Dmitry Stogov > Cc: PHP Internals > Subject: Re: [PHP-DEV] RFC - Zend VM Pause API > > 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.

Re: [PHP-DEV] RFC - Zend VM Pause API

2017-11-01 Thread Dmitry Stogov
or just change execute_data->opline... From: Dmitry Stogov Sent: Wednesday, November 1, 2017 12:14:22 PM To: Haitao Lv Cc: PHP Internals Subject: Re: [PHP-DEV] RFC - Zend VM Pause API after zend_interrupt_function() callback VM continues execution using

Re: [PHP-DEV] RFC - Zend VM Pause API

2017-11-01 Thread Dmitry Stogov
1, 2017 11:54:54 AM To: Dmitry Stogov Cc: PHP Internals Subject: Re: [PHP-DEV] RFC - Zend VM Pause API 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

Re: [PHP-DEV] RFC - Zend VM Pause API

2017-11-01 Thread Haitao Lv
; >> 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. >> >> Thanks. Dmitry. >> From: Haitao Lv >> Sent: Wednesda

Re: [PHP-DEV] RFC - Zend VM Pause API

2017-11-01 Thread Haitao Lv
P Internals > Subject: [PHP-DEV] RFC - Zend VM Pause API > > Hi, internals, > > I propose to introduce a new zend vm pause api, and here is the RPF > > https://wiki.php.net/rfc/zend-vm-pause-api > <https://wiki.php.net/rfc/zend-vm-pause-api> > > Please gave yo

Re: [PHP-DEV] RFC - Zend VM Pause API

2017-11-01 Thread Dmitry Stogov
4:19:07 AM To: PHP Internals Subject: [PHP-DEV] RFC - Zend VM Pause API Hi, internals, I propose to introduce a new zend vm pause api, and here is the RPF https://wiki.php.net/rfc/zend-vm-pause-api Please gave your comment. Thank you. -- PHP Internals - PHP Runtime Development Mailing List

[PHP-DEV] RFC - Zend VM Pause API

2017-10-31 Thread Haitao Lv
Hi, internals, I propose to introduce a new zend vm pause api, and here is the RPF https://wiki.php.net/rfc/zend-vm-pause-api Please gave your comment. Thank you. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php