Re: [PHP-DEV] Reentrancy and extensions

2003-03-27 Thread David Hill \(php.net\)
> It should be a runtime or compiletime flag in each extension, not a > seperate text file that someone needs to read. In a truely perfect world we would have that compile time flag in the extension definition structure, and then could do a extension specific lock (mutex) before calling functions

Re: [PHP-DEV] Reentrancy and extensions

2003-03-27 Thread 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 structu

Re: [PHP-DEV] Reentrancy and extensions

2003-03-27 Thread Moriyoshi Koizumi
Sound like a good idea to me. Moriyoshi "David Hill \(php.net\)" <[EMAIL PROTECTED]> 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 som

[PHP-DEV] Reentrancy and extensions

2003-03-27 Thread David Hill \(php.net\)
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 wo