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) {
|
while (true) {
|
||||||
m_signal.waitUninterruptible();
|
m_signal.waitUninterruptible();
|
||||||
if (m_waiters.front.seq == w.seq && tryLock()) {
|
if (m_waiters.front.seq == w.seq && tryLock()) {
|
||||||
m_locks++;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue