Help on SAPI and TSRM ?
| From: | Markus Goetzl | Date: | Fri, 15 Nov 2002 13:48:02 +0000 |
| Subject: | Help on SAPI and TSRM ? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-91091@lists.php.net to get a copy of this message | ||
Hi there,
I'm trying to write a "C++ Wrapper", so it's possible for me to execute PHP code from my own C++ programms. I used the CLI-SAPI (php4/sapi/cli/...) as a template for my "C++ Wrapper".
This works fine if the calling application is a single process but I run into trouble if I call PHP (run PHP code) from threads.
Could anybody give a quick overview on TSRM or tell me where to find some documentation (I couldn't find any) ?
I'm especially interested in : How to call PHP from threads and how to access the result of the PHP run from different threads ?
Thanks !