aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanoAkron <nanoakron@users.noreply.github.com>2017-01-30 03:05:24 +0000
committerNanoAkron <nanoakron@users.noreply.github.com>2017-02-01 10:16:57 +0000
commitfc91e6a75afa8c5c80de8dd0af24e2edb50b7ab9 (patch)
treee5b92835efcc197d1499b5ea1f0f89bba7f88913
parentMerge pull request #1618 (diff)
downloadmonero-fc91e6a75afa8c5c80de8dd0af24e2edb50b7ab9.tar.xz
Fixed a deadlock issue with easylogger++
Ubuntu 16.04/GCC 5.4.0/ARMv8 fix to match previous recursive mutex fix for GCC
-rw-r--r--external/easylogging++/easylogging++.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/easylogging++/easylogging++.h b/external/easylogging++/easylogging++.h
index 3395c2cb2..d28152667 100644
--- a/external/easylogging++/easylogging++.h
+++ b/external/easylogging++/easylogging++.h
@@ -1104,8 +1104,8 @@ namespace el {
ELPP_UNUSED(ms);
# endif // ELPP_ASYNC_LOGGING
}
- typedef std::mutex Mutex;
- typedef std::lock_guard<std::mutex> ScopedLock;
+ typedef std::recursive_mutex Mutex;
+ typedef std::lock_guard<std::recursive_mutex> ScopedLock;
# endif // !ELPP_USE_STD_THREADING
#else
namespace internal {