qt6-bb10/tests/auto/corelib/thread/qsemaphore
Thiago Macieira 081c001deb QSemaphore: fix deadlock when the woken up thread wakes up another
When the thread that got woken up by release() is supposed to release()
to wake up another thread, we were deadlocking. This happened because we
cleared the bit indicating that there was contention when the first
release(). Instead of storing a single bit, we now store the number of
threads waiting.

Task-number: QTBUG-66875
Change-Id: I72f5230ad59948f784eafffd15193873502ecba4
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2018-03-19 20:36:51 +00:00
..
.gitignore
BLACKLIST Extend blacklisting of tst_QSemaphore 2017-05-31 18:53:50 +00:00
qsemaphore.pro
tst_qsemaphore.cpp QSemaphore: fix deadlock when the woken up thread wakes up another 2018-03-19 20:36:51 +00:00