logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: localtime is non-reentrant
Date Fri, 22 Oct 2004 14:23:04 GMT
This had been reported as bug LOGCXX-17 
(http://nagoya.apache.org/jira/browse/LOGCXX-17).  There are several 
date and time related issues that I should be reviewed as a group, but 
I haven't gotten there yet.

On Oct 22, 2004, at 3:11 AM, Barak Simon wrote:

> 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


Mime
View raw message