Nov. 2, 2011
3:27 p.m.
On Wed, 02 Nov 2011, Bennett Todd wrote:
As far as I know, the choices for a high-speed timezone-switching implementation, thread-safe, are going to a different implementation (I don't know what would be best) or stashing the zoneinfo conversion in a separate process as a server, a tz conversion service.
Christos Zoulas posted a proposed API and patches in October 2010. For example, localtime_rz() is like localtime() but it takes extra args giving a pointer to a buffer that will hold the result, and a data structure describing the timezone. --apb (Alan Barrett)