Merge pull request #1651

fc91e6a7 Fixed a deadlock issue with easylogger++ (NanoAkron)
This commit is contained in:
Riccardo Spagni 2017-02-02 21:36:07 +02:00
commit 345396e056
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -1104,8 +1104,8 @@ namespace el {
ELPP_UNUSED(ms); ELPP_UNUSED(ms);
# endif // ELPP_ASYNC_LOGGING # endif // ELPP_ASYNC_LOGGING
} }
typedef std::mutex Mutex; typedef std::recursive_mutex Mutex;
typedef std::lock_guard<std::mutex> ScopedLock; typedef std::lock_guard<std::recursive_mutex> ScopedLock;
# endif // !ELPP_USE_STD_THREADING # endif // !ELPP_USE_STD_THREADING
#else #else
namespace internal { namespace internal {