qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Resolved: (QPID-1852) Logger::log isn't thread safe (by inspection)
Date Tue, 12 May 2009 21:59:45 GMT

     [ https://issues.apache.org/jira/browse/QPID-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Stitcher resolved QPID-1852.
-----------------------------------

    Resolution: Fixed

> Logger::log isn't thread safe (by inspection)
> ---------------------------------------------
>
>                 Key: QPID-1852
>                 URL: https://issues.apache.org/jira/browse/QPID-1852
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: M4
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> In source file cpp/src/qpid/log/Logger.h Logger::log() uses the function localtime which
is not thread saf
> localtime() needs to be replaced with localtime_r() for threadsafety.
> Incidentally sprintf() and most of the rest of the function can be replaced with strftime().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message