Re: timezones and thread safety
| From: | James L. Pine | Date: | Tue, 17 Apr 2001 21:59:44 +0000 |
| Subject: | Re: timezones and thread safety | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51834@lists.php.net to get a copy of this message | ||
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