Re: PHP 4.3 and PHP 5

From: Date: Thu, 22 Aug 2002 14:13:03 +0000
Subject: Re: PHP 4.3 and PHP 5
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-87290@lists.php.net to get a copy of this message
On Thu, 22 Aug 2002, Kristian Koehntopp wrote: > Am Donnerstag, 22. August 2002 09:43 schrieb Rasmus Lerdorf: > > Putting in locks is the easy part. The tough part is finding > > which libraries are safe and which ones aren't. > > I think that is easy, too. Either the library you are using is > being documented as threadsafe, then it is. Or it isn't > documented as threasdsafe, in which case you have to mutex it, > even if it is actually threadsafe internally - no docs for it, > the feature is an accident and you may not rely on it. Talk to > the developers and make them cooperate. That's not very realistic I don't think. You have folks like Mr. Crispin who insists that his c-client library is perfectly threadsafe yet he uses strtok() and gethostbyname() so it obviously isn't. -Rasmus

« previous php.dev (#87290) next »