Re: kernel32: avoid thread-unsafe function gmtime()
June 3, 2008
8:57 p.m.
"Dan Kegel" <dank(a)kegel.com> wrote:
Using gmtime() in a multithreaded program could result in invalid results. So use the safer alternative gmtime_r() if it's available.
Most likely gmtime_r() should be used without #ifdefs and a replacement put in libs/port. -- Dmitry.
6503
Age (days ago)
6503
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov