logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barak Simon" <barak.si...@db.com>
Subject localtime is non-reentrant
Date Fri, 22 Oct 2004 08:11:32 GMT
Hi,

It seems Timezone is not thread-safe on all POSIX.1 systems due to using localtime instead
of r_localtime.
According to ISO/IEC 9945:1-1996, ยง8.3.4-8.3.7 the methods asctime(), ctime(), gmtime() and
localtime() are non-reentrant.

Please let me know your thoughts,
Thanks,
Barak
________________________
Barak Simon
GED IT Core Platform
Deutsche Bank
190 George St. Sydney, 2000
Phone +61 2 925 85070
Fax      +61 2 925 95050


--

This e-mail may contain confidential and/or privileged information. If you are not the intended
recipient (or have received this e-mail in error) please notify the sender immediately and
destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material
in this e-mail is strictly forbidden.



Mime
View raw message