Re: Build failure

From: Date: Thu, 05 Apr 2007 15:23:45 +0000
Subject: Re: Build failure
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-28688@lists.php.net to get a copy of this message
Ilia Alshanetsky wrote: > Rasmus, > > Sorry for the delay in the reply. According to my tests on linux using > the sample script provided by the original bug reporter having no lock > causes a problem when the error message is >4k in length. In this case > multiple buffers are used and corruption can happen (it did on a dual > cpu machine with 10 error log writing threads running), which is why I > feel the lock is needed. Did you do this test before or after you condensed the fprintf calls into a single call? With multiple fprintf calls there would be a problem, but with a single one I don't see how it could possibly screw it up. -Rasmus

« previous php.internals (#28688) next »