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/19 18:49:28 UTC

logging-log4cxx git commit: LOGCXX-500: Removed commented old code to improve readability.

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


LOGCXX-500: Removed commented old code to improve readability.


Project: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/commit/19051391
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/tree/19051391
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4cxx/diff/19051391

Branch: refs/heads/LOGCXX-500
Commit: 19051391f5819db598908017601109892beeba55
Parents: 9e840d2
Author: Thorsten Schöning <ts...@am-soft.de>
Authored: Sun Aug 19 20:49:26 2018 +0200
Committer: Thorsten Schöning <ts...@am-soft.de>
Committed: Sun Aug 19 20:49:26 2018 +0200

----------------------------------------------------------------------
 src/main/include/log4cxx/helpers/mutex.h        | 11 -----------
 src/main/include/log4cxx/helpers/synchronized.h | 10 ----------
 2 files changed, 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/19051391/src/main/include/log4cxx/helpers/mutex.h
----------------------------------------------------------------------
diff --git a/src/main/include/log4cxx/helpers/mutex.h b/src/main/include/log4cxx/helpers/mutex.h
index 3fc25c2..ea8b18e 100644
--- a/src/main/include/log4cxx/helpers/mutex.h
+++ b/src/main/include/log4cxx/helpers/mutex.h
@@ -83,15 +83,6 @@ namespace log4cxx
         } // namespace helpers
 } // namespace log4cxx
 
-//#define SHARED_MUTEX_INIT(mutex, p) mutex()
-//#define SHARED_MUTEX shared_mutex_recursive
-
-//#define SHARED_MUTEX std::shared_mutex
-
-//#define SHARED_MUTEX_INIT(mutex, p) mutex(p)
-//#define SHARED_MUTEX log4cxx::helpers::Mutex
-
-
 #define SHARED_MUTEX log4cxx::helpers::RWMutex
 #define SHARED_MUTEX_INIT(mutex, p) mutex(p)
 
@@ -121,6 +112,4 @@ namespace log4cxx
 
 #define SEMAPHORE log4cxx::helpers::Semaphore
 
-//#define SEMAPHORE log4cxx::helpers::Condition
-
 #endif //_LOG4CXX_HELPERS_MUTEX_H

http://git-wip-us.apache.org/repos/asf/logging-log4cxx/blob/19051391/src/main/include/log4cxx/helpers/synchronized.h
----------------------------------------------------------------------
diff --git a/src/main/include/log4cxx/helpers/synchronized.h b/src/main/include/log4cxx/helpers/synchronized.h
index f4b31d7..e4df183 100644
--- a/src/main/include/log4cxx/helpers/synchronized.h
+++ b/src/main/include/log4cxx/helpers/synchronized.h
@@ -90,17 +90,7 @@ namespace log4cxx
         }
 }
 
-//#define LOCK_R std::shared_lock<shared_mutex_recursive>
-//#define LOCK_W std::unique_lock<shared_mutex_recursive>
-
-//#define LOCK std::lock_guard<std::recursive_mutex>
-
-//#define LOCK synchronized
-
 #define LOCK_R synchronized_read
 #define LOCK_W synchronized_write
 
-//#define LOCK_R synchronized
-//#define LOCK_W synchronized
-
 #endif //_LOG4CXX_HELPERS_SYNCHRONIZED_H