Re: Re: ZTS issues
| From: | Zeev Suraski | Date: | Tue, 18 Nov 2003 12:32:22 +0000 |
| Subject: | Re: Re: ZTS issues | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5518@lists.php.net to get a copy of this message | ||
At 06:06 18/11/2003, Michael Sisolak wrote:
I have been looking at the IIS isapi issues and came up with the following patch: http://www.ctindustries.net/patches/zts-php5.diff.txt Rob, I've done some work in the past on ISAPI threading issues (although I by no means claim to understand how all the ZTS stuff works). Can you explain why you added the calls to ts_free_thread() after the DLL_PROCESS_ATTACH and then each call to HttpExtensionProc()? In both cases the actual thread under IIS does continue to exist and can be called on again when a new HTTP request arrives at the server. It would appear to me that this change would be causes PHP to have to reinitialize with each request. Is there a specific issue that you were able to fix with this change?Same questions here... The extra calls to ts_free_thread() seem bogus. Not sure yet about the other changes although they probably make more sense - I never made too much effort to ensure that the cleanup of a thread is very complete... Zeev