Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5512 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94341 invoked by uid 1010); 18 Nov 2003 08:49:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 94306 invoked from network); 18 Nov 2003 08:49:29 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 18 Nov 2003 08:49:29 -0000 Received: (qmail 28646 invoked from network); 18 Nov 2003 08:49:21 -0000 Received: from guardian.zend.office (HELO andi-laptop.zend.com) (10.1.1.4) by mail.zend.com with SMTP; 18 Nov 2003 08:49:21 -0000 Message-ID: <5.1.0.14.2.20031118104722.01ccccf8@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 18 Nov 2003 10:48:44 +0200 To: Michael Sisolak ,internals@lists.php.net, rrichards@ctindustries.net In-Reply-To: <20031118040658.91311.qmail@web13407.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Re: ZTS issues From: andi@zend.com (Andi Gutmans) References: <20031118040658.91311.qmail@web13407.mail.yahoo.com> At 08:06 PM 11/17/2003 -0800, 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? Rob, Also, how sure are you about this patch? What tool did you use for debugging. The code changes you made change some of the most fragile code in PHP so I want to be absolutely sure it's OK. I'm going to run it by Zeev who knows this part of the code the best. Andi