fix deadlocks, caused by second m_locks increment

This commit is contained in:
Boris-Barboris 2017-08-28 21:58:08 +00:00
parent 544157c065
commit a590de154a

View file

@ -216,7 +216,6 @@ final class LocalTaskSemaphore
while (true) {
m_signal.waitUninterruptible();
if (m_waiters.front.seq == w.seq && tryLock()) {
m_locks++;
return;
}
}