Re: [PHP4BETA] Thread-Safety in php4/output.c

From: Date: Sun, 10 Oct 1999 20:29:34 +0000
Subject: Re: [PHP4BETA] Thread-Safety in php4/output.c
References: 1 2 3 4  Groups: php.version4 
Request: Send a blank email to php-version4+get-5460@lists.php.net to get a copy of this message
On Sun, Oct 10, 1999 at 10:25:04PM +0200, Zeev Suraski wrote: > At 13:52 10/10/1999 , Sascha Schumann wrote: > >On Sun, Oct 10, 1999 at 12:37:40PM +0200, Thies C. Arntzen wrote: > > > hi > > > i think the output-buffering system is far from beeing thread-safe. > > > > It needs a rewrite. It should use a per-thread structure as > > well. > > Well, I wouldn't get carried away suggesting a rewrite... Adding thread > safety support should do (if every piece of thread unsafe code had to be > rewritten for thread safety, it would have been the second time around > Zend's been written... :) Sure, I didn't mean to suggest that--it's just that you'll have to touch most of the code, since the largest part operates on global variables (I glanced only over the code). Sorry, if my statement was too destructive. :-) -- Regards, Sascha Schumann Consultant

« previous php.version4 (#5460) next »