fix deadlocks, caused by second m_locks increment
This commit is contained in:
parent
544157c065
commit
a590de154a
|
@ -216,7 +216,6 @@ final class LocalTaskSemaphore
|
|||
while (true) {
|
||||
m_signal.waitUninterruptible();
|
||||
if (m_waiters.front.seq == w.seq && tryLock()) {
|
||||
m_locks++;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue