Re: timezones and thread safety

From: Date: Wed, 18 Apr 2001 08:03:09 +0000
Subject: Re: timezones and thread safety
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-51859@lists.php.net to get a copy of this message
Hello, AFIAK, this was needed because of a bug. I suggest you check it out in the bug DB. Derick On Tue, 17 Apr 2001, James L. Pine wrote: > ok, this is a little more bizarre than I thought it was. > > apparently, tzset is called in mktime or when putenv('TZ=foo') are > called. so this works, and putenv'ing TZ isn't thread safe already, but > should the mktime tzset call be taken out? and maybe some thread safe > method of setting a timezone for a page should be put in? > > > --jlp > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > Derick Rethans --------------------------------------------------------------------- PHP: Scripting the Web - www.php.net - derick@php.net SRM: Site Resource Manager - www.vl-srm.net --------------------------------------------------------------------- JDI Media Solutions - www.jdimedia.nl - d.rethans@jdimedia.nl Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands ---------------------------------------------------------------------

« previous php.dev (#51859) next »