Fixed a deadlock issue with easylogger++

Ubuntu 16.04/GCC 5.4.0/ARMv8 fix to match previous recursive mutex fix for GCC
This commit is contained in:
NanoAkron 2017-01-30 03:05:24 +00:00
parent 4629ead8c5
commit fc91e6a75a
No known key found for this signature in database
GPG Key ID: 346A337AA2EA8B57
1 changed files with 2 additions and 2 deletions

View File

@ -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 {