Re: PHP 4.3 and PHP 5
| From: | Kristian Koehntopp | Date: | Thu, 22 Aug 2002 08:42:38 +0000 |
| Subject: | Re: PHP 4.3 and PHP 5 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87271@lists.php.net to get a copy of this message | ||
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.
Kristian