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 Moving relevant tests to corelib/thread 2011-09-01 12:54:58 +02:00
BLACKLIST Extend blacklisting of tst_QSemaphore 2017-05-31 18:53:50 +00:00
qsemaphore.pro Remove QT_DISABLE_DEPRECATED_BEFORE=0 from tests not using deprecated API. 2015-09-01 16:57:46 +00:00
tst_qsemaphore.cpp QSemaphore: fix deadlock when the woken up thread wakes up another 2018-03-19 20:36:51 +00:00