Nope. The only benefit would be protecting it from non pike threads (thus not holding the interpreter lock) using localtime at the same time. A rather questionable benefit though, since _those_ threads should really be using localtime_r anyway.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2003-06-17 19:44: Subject: Pike localtime(), threads safe and low level localtime() / localtime_r() ?
Also, even though using localtime_r would work, it might actually not be benefitia performace wise anyway (since it's not exactly cheap to release and retrieve the interpreter lock).
/ David Hedbor