aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorjebes <psteidelprogramming@gmail.com>2014-09-11 10:14:05 -0400
committerjebes <psteidelprogramming@gmail.com>2014-09-11 10:14:05 -0400
commita70bf86037575ecb1bb2c8b1103deeb2fd1c0ae5 (patch)
tree98e5d9678e9d37e45693babdb5107acd23a277cf /src/common/util.h
parentcommented util.h (diff)
downloadmonero-a70bf86037575ecb1bb2c8b1103deeb2fd1c0ae5.tar.xz
Documented varint
Diffstat (limited to '')
-rw-r--r--src/common/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 876673d0a..a512eb0a3 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -136,8 +136,8 @@ namespace tools
/*! \breif calles m_handler */
static void handle_signal()
{
- /* static std::mutex m_mutex; */
- /* std::unique_lock<std::mutex> lock(m_mutex); */
+ static std::mutex m_mutex;
+ std::unique_lock<std::mutex> lock(m_mutex);
m_handler();
}