You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ts...@apache.org on 2018/08/20 05:59:00 UTC

logging-log4cxx git commit: LOGCXX-500: SHA-1: a4b45075280215f9ccc054581871acc7ec09f172

Repository: logging-log4cxx
Updated Branches:
  refs/heads/LOGCXX-500 19051391f -> 9f75f7f06


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/LOGCXX-500
Commit: 9f75f7f06cd0e3394d82aa66bf947eda3c94a9cc
Parents: 1905139
Author: Thorsten Schöning <ts...@am-soft.de>
Authored: Mon Aug 20 07:58:57 2018 +0200
Committer: Thorsten Schöning <ts...@am-soft.de>
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;
 }