Merge pull request #31 from Boris-Barboris/master
fix deadlocks, caused by second m_locks increment merged-on-behalf-of: Sönke Ludwig <s-ludwig@users.noreply.github.com>
This commit is contained in:
commit
c06e24494d
|
@ -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