|
From: FROHNER A. <Ako...@ce...> - 2008-09-25 14:11:07
|
Hi,
We are using log4cpp in our project and we have some multi-threaded
services. Hence we are very happy with the thread safety improvements
of v1.0, however there are still a few areas, where static variables
are used without explicit locking:
AppendersFactory& AppendersFactory::getInstance()
LayoutsFactory& LayoutsFactory::getInstance()
TriggeringEventEvaluatorFactory& TriggeringEventEvaluatorFactory::getInstance()
Could they not cause any problem if they are ran in a multi-threaded
environment, where the statements might interleave?
Cheers,
Ákos
--
FROHNER Ákos/DM/IT/CERN -- Data Management/JRA1/EGEE
|