1
0
Fork 0

Fix a bug in mutex locker

This commit is contained in:
Simon Grätzer 2017-02-11 22:17:23 +01:00
parent becca2bdbb
commit c2450b7913
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ using namespace arangodb::basics;
#ifdef TRI_SHOW_LOCK_TIME
MutexLocker::MutexLocker(Mutex* mutex, char const* file, int line)
: _mutex(mutex), isLocked(true), _isLocked(true), _file(file), _line(line), _time(0.0) {
: _mutex(mutex), _isLocked(true), _file(file), _line(line), _time(0.0) {
double t = TRI_microtime();
_mutex->lock();
_time = TRI_microtime() - t;