Re: How to embed PHP5 into multi-threaded C app?
| From: | Vadka | Date: | Tue, 01 Mar 2005 17:54:20 +0000 |
| Subject: | Re: How to embed PHP5 into multi-threaded C app? | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15242@lists.php.net to get a copy of this message | ||
On Tue, 1 Mar 2005, Alan Knowles wrote:
I think derick does something like this in SRM, but basically if you want to load something in the global thread, and let the children inherit the data / classes /function etc. AFAIR you need to serialize the opcodes, and copy them for each thread. (or use something like bcompiler to load cached opcodes for you..) For me, inter-threads variables api is working (separated table, holding references between threads; must be synched by mutexes).it will take some time to make that available...