Closed daviddrysdale closed 4 years ago
Base localtime() is not thread-safe and shows as a TSAN error. According to https://linux.die.net/man/3/localtime_r, "For portable code tzset(3) should be called before localtime_r()." so also call tzset() from InitLogging.
Thanks @daviddrysdale for your contribution :)
Base localtime() is not thread-safe and shows as a TSAN error. According to https://linux.die.net/man/3/localtime_r, "For portable code tzset(3) should be called before localtime_r()." so also call tzset() from InitLogging.