Re: How to embed PHP5 into multi-threaded C app?
| From: | Vadka | Date: | Tue, 01 Mar 2005 17:57:50 +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-15243@lists.php.net to get a copy of this message | ||
On Tue, 1 Mar 2005, Wez Furlong wrote:
ZTS enabled PHP has "strong thread affinity". Calls into the engine are thread-safe provided that you have previously initialized the engine on that thread. Hm...The problem is when we create a thread and call_user_function for the function from the parent thread.