LOGCXX-500: SHA-1: a4b45075280215f9ccc054581871acc7ec09f172 * LOGCXX-317: Log4cxx triggers locking inversion, which can result in a deadlock
Project: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/commit/9f75f7f0 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/tree/9f75f7f0 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/diff/9f75f7f0 Branch: refs/heads/master Commit: 9f75f7f06cd0e3394d82aa66bf947eda3c94a9cc Parents: 1905139 Author: Thorsten Schöning <[email protected]> Authored: Mon Aug 20 07:58:57 2018 +0200 Committer: Thorsten Schöning <[email protected]> Committed: Mon Aug 20 07:58:57 2018 +0200 ---------------------------------------------------------------------- src/main/cpp/logger.cpp | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/9f75f7f0/src/main/cpp/logger.cpp ---------------------------------------------------------------------- diff --git a/src/main/cpp/logger.cpp b/src/main/cpp/logger.cpp index e37ac97..8c9a379 100644 --- a/src/main/cpp/logger.cpp +++ b/src/main/cpp/logger.cpp @@ -45,7 +45,6 @@ Logger::Logger(Pool& p, const LogString& name1) : pool(&p), name(), level(), parent(), resourceBundle(), repository(), aai(), SHARED_MUTEX_INIT(mutex, p) { - LOCK_W sync(mutex); name = name1; additive = true; }
