pcntl's use of zend_extension API
| From: | Jason Greene | Date: | Mon, 25 Jun 2001 16:04:57 +0000 |
| Subject: | pcntl's use of zend_extension API | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57933@lists.php.net to get a copy of this message | ||
Andi or Zeev (Whoever has time for this),
I have added an experimental process control module to cvs for fork() signals etc. In order for
me to provide asynchronously
safe signal handling I need to make sure that I never call the programmers php function during any
of php's or Zend's internal
updates. I am currently using the zend_extension_statement_handler for this purpose, but I have
concerns about the efficiency of
this. Since this adds additional op-codes, and was mainly intended for debug extensions, it seems
that there should be a better hook
more suited to what I am doing. I was thinking of a possible callback that could be placed in
Zend's main execute loop. What do you
guys think?
Thanks,
-Jason