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

[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

Re: [PHP-DEV] issues with gettext on multithreaded servers

2003-03-24 Thread David Hill \(php.net\)
> I have found some problems (and possible solutions) concerning use of the > gettext extension on multithreaded servers. The gettext library caches information in static variables. This is true in gettext 0.10.40 at least, which is that last that I looked in. This has a number of "features"

[PHP-DEV] Picky about TZ dates...

2003-03-24 Thread David Hill \(php.net\)
Hi all, It would seem that Tru64 is pickier about the TZ setting than the rest of the known universe. According to our local TZ expert (who can quote chapter and verse from the UNIX 98 standard) a TZ of GMT is not proper, and GMT0 is (again despite the fact that every other platform seems to

[PHP-DEV] Problem building php5 head - mysqli

2003-03-19 Thread David Hill \(php.net\)
yo, I was trying to build php5 - head and got a syntax error in config. After some brute force wacking, I narrowed it down to ext/mysqli/config.m4. Not being very conversant with automake I don't really see anything wrong with the file. and as it is not in PHP_4_3 I don't have anyth