Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:380 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17457 invoked from network); 27 Mar 2003 17:45:37 -0000 Received: from unknown (HELO priv-edtnes04.telusplanet.net) (199.185.220.221) by pb1.pair.com with SMTP; 27 Mar 2003 17:45:37 -0000 Received: from caraveo.com ([216.232.165.106]) by priv-edtnes04.telusplanet.net (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20030327174536.OCHR8012.priv-edtnes04.telusplanet.net@caraveo.com> for ; Thu, 27 Mar 2003 10:45:36 -0700 Message-ID: <3E8338F2.1030400@caraveo.com> Date: Thu, 27 Mar 2003 09:46:26 -0800 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net References: <010f01c2f480$44f76390$e3008d10@little1> In-Reply-To: <010f01c2f480$44f76390$e3008d10@little1> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Reentrancy and extensions From: shane@caraveo.com (Shane Caraveo) David Hill (php.net) wrote: > Hi, > back on reentrancy.... I know that with some of the libraries the extensions depend on are not reentrant (ie. also not thread safe). The imap library cclient comes to mind (unless something has changed recently) and I know gettext caches data in global structures (which would make me wonder). It occurs to me that we already have a list of extenions ( ./EXTENSIONS), what about adding an extra field to the listing? This field would be: > > ZTS: [unknown|yes|no] > > and would default to unknown. This would help those of us trying to use Apache2 to choose which extensions can be included based on the extension maintainers view of the safety of the code. > > Dave It should be a runtime or compiletime flag in each extension, not a seperate text file that someone needs to read. Shane