Re: PHP SAPI module help
| From: | Hannes Magnusson | Date: | Fri, 14 Nov 2014 22:58:11 +0000 |
| Subject: | Re: PHP SAPI module help | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-20267@lists.php.net to get a copy of this message | ||
You may have better luck asking on the PHP Development mailinglist,
internals@lists.php.net
This is the webmaster mailinglist for the php.net websites.
-Hannes
On Thu, Nov 13, 2014 at 10:38 PM, Tigran Bayburtsyan <
tigran.bayburtsyan@gmail.com> wrote:
> Hi I found this email in PHP.net as a contact address for Web masters.
>
> My question is about PHP SAPI C/C++ development.
>
> I’ve successfully attached PHP to my C/C++ application as a SAPI module
> with libphp.so , and it’s working now , but I have a problem with multiple
> tasks in my application.
>
> I need to execute PHP code in some thread of my application and continue
> excecution in another. Is is possible to somehow get all global PHP core
> hashtables from first thread and restore PHP from that point in another
> thread using that hashtables with all generated variables and functions ?
>
>
>
> Please provide some information about how this could be possible.
>
> Thanks.
>