PHP 7 extension - calling 'php_log_err' from another thread
| From: | Mariusz Drozdowski | Date: | Mon, 15 Feb 2016 02:50:19 +0000 |
| Subject: | PHP 7 extension - calling 'php_log_err' from another thread | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-13544@lists.php.net to get a copy of this message | ||
I am writing an extension (module written in C) for PHP 7x.
My extension is creating threads (of which PHP is not aware). From these
threads a callback function may be called, which I want to use to log
some information using 'php_log_err' function.
How to do it properly ? Is it possible ?
I know that there where a lot of changes regarding threads between PHP
5x and PHP 7x
Thanks in advance.
Mariusz.