(Referring to my posts: #50838 and #50916)

Well although I got the feeling no one cares, I finally found a solution
to my problem!!!

Combining my patch (from post #50916) with the php_embed2 module makes
everything working great in multi-threaded usage. The normal php_embed
module does not seem to be designed for that.

So my final conclusion for the multi-threaded SAPI is the following:
- my patch is needed (to avoid false resource allocation)
- php_embed2 module is needed (instead of php_embed)
- TSRMLS_FETCH() needs to be called at the start of every request
- ts_free_thread() should be called at the end of every request

But I still would like to get any comment about my patch...

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to