Author: tschoening Date: Mon Feb 10 13:51:44 2014 New Revision: 1566626 URL: http://svn.apache.org/r1566626 Log: LOGCXX-317: Log4cxx triggers locking inversion, which can result in a deadlock
Modified: incubator/log4cxx/trunk/src/main/cpp/logger.cpp Modified: incubator/log4cxx/trunk/src/main/cpp/logger.cpp URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/src/main/cpp/logger.cpp?rev=1566626&r1=1566625&r2=1566626&view=diff ============================================================================== --- incubator/log4cxx/trunk/src/main/cpp/logger.cpp (original) +++ incubator/log4cxx/trunk/src/main/cpp/logger.cpp Mon Feb 10 13:51:44 2014 @@ -45,7 +45,6 @@ Logger::Logger(Pool& p, const LogString& : pool(&p), name(), level(), parent(), resourceBundle(), repository(), aai(), mutex(p) { - synchronized sync(mutex); name = name1; additive = true; }