Newsgroups: php.internals
Path: news.php.net
Xref: news.php.net php.internals:2932
Return-Path:
Mailing-List: contact internals-help@lists.php.net; run by ezmlm
Delivered-To: mailing list internals@lists.php.net
Received: (qmail 10286 invoked by uid 1007); 28 Jun 2003 09:58:32 -0000
Message-ID: <20030628095832.10285.qmail@pb1.pair.com>
To: internals@lists.php.net
Reply-To: "Dmitri Dmitrienko"
References: <20030628055230.56980.qmail@pb1.pair.com> <3EFD3147.6060104@webgenius.co.nz>
Date: Sat, 28 Jun 2003 13:58:24 +0400
Lines: 17
X-Newsreader: Microsoft Outlook Express 6.00.2800.1081
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1081
X-Posted-By: 192.233.92.200
Subject: Re: [PHP-DEV] Apache 2 support
From: dd@cron.ru ("Dmitri Dmitrienko")
> We could of course mutex every call to every external function. Then we
> could be reasonably sure it would work, and at the same time we could be
> sure that it was much slower than running it non-threaded.
Any crash in an area protected by mutex would leave this mutex in
non-released state and all the rest threads trying to access that area would
be blocked forever.
Remember the problem of Win95<->Win 3.1 interoperability ?
BTW, is there any way for checking if a library does not create nor use any
global variables ? May be just running nm with non-stripped .so objects and
inspecting the resulting list ? Any other ideas ?
-Dmitri.