WIP: bugfix on WaitCondition (deadlocked)

This commit is contained in:
Matthias Koefferlein 2018-07-10 00:13:06 +02:00
parent 5cfb98d9f2
commit 58fd6ed143
1 changed files with 1 additions and 1 deletions

View File

@ -102,8 +102,8 @@ public:
}
// transfers the lock back
mutex->lock ();
pthread_mutex_unlock (&m_mutex);
mutex->lock ();
return woken;
}