Re: Safe execution timeout handling

From: Date: Thu, 12 Mar 2015 02:03:06 +0000
Subject: Re: Safe execution timeout handling
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-84607@lists.php.net to get a copy of this message
On Mar 11, 2015 7:01 PM, "Stas Malyshev" <smalyshev@gmail.com> wrote: > > Hi! > > > Instead of throwing zend_error() from signal handler, now we just set > > EG(vm_interrupt) and EG(timed_out) flags. PHP VM checks EG(vm_interrupt) > > flag on each JMPx instruction (potential loop iteration) and then throws > > JMPs are not the only operations that can transfer control and thus > potentially form a loop. Oops, please ignore this, it was a draft sent accidentally.

« previous php.internals (#84607) next »