digitalmars.D.bugs - Std.c.time: gmtime() is non-reentrant
- Kris (7/7) May 31 2004 I'd like to ask that std.c.time provide the reentrant gmtime_r() functio...
I'd like to ask that std.c.time provide the reentrant gmtime_r() function, that's available on *nix platforms. The only difference is the latter receives a destination output as an argument, rather than returning a pointer to an internal static instance; thus making it reentrant. Without this method, one has to globally synchronize access to gmtime(). Would be nice to avoid that, especially for newbies. - Kris
May 31 2004