Re: Fixes for pcntl - class support. (patch attached)
| From: | Alan Knowles | Date: | Mon, 21 Jan 2002 09:03:27 +0000 |
| Subject: | Re: Fixes for pcntl - class support. (patch attached) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-77649@lists.php.net to get a copy of this message | ||
Looks like mozilla buggered up the attachment.
Alan Knowles wrote:
> Well, after half a dozen bug reports that didnt actually work... -
> this one should, could somebody comment/commit etc.
>
> The patch includes a number of changes... -
> pcntl_zend_extension_active does not appear to be getting set when
> using modules
> this little magic trick to get the zval stored in the hash table for
> callbacks
>
> + MAKE_STD_ZVAL(handle_copy);
> + *handle_copy = **handle;
> + zval_copy_ctor(handle_copy);
>
> I deleted this as it was confusing me alot :) - obviously not
> essential to the patch
> old_pcntl_signal_handler(int signo)
>
> added a new function
> pcntl_doevents = works a bit like gtk::do_events();
> basically calls any pending signal callbacks. - as the
> pcntl_zend_extension_statement_handler did not appear to get called
> when running from a module.
>
>
> best regards
> alan
>
>
>
>
>
>
>
>
>
>