From: Konstantin L. <Kon...@ma...> - 2007-08-17 08:12:18
|
Hello, Scott! You wrote to <log...@li...> on Thu, 16 Aug 2007 23:28:11 -0400: SC> A long time back, pre-2004 certainly, we realized that log4cpp was SC> extremely broken under even rudimentary threaded conditions. I traced SC> this problem to two main sources: SC> - use of the non-threadsafe localtime function Fixed in my local copy. SC> - a broken autotools script that failed to set the proper flags on SC> Solaris and other platforms Waiting patch that fix this issue from Russ Allbery. SC> (To my knowledge, the NDC class was always threadsafe (it uses SC> thread-local-storage), in contrast to some recent comments here. I SC> can't explain that, but I think the concerns there are wrong.) You are right :) My previuos investigation was wrong. I have reviewed one more time NDC and PThread code and now realize that everything is OK with it. With best regards, Konstantin Litvinenko. |