qt6-bb10/tests/auto/corelib/thread
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
..
qatomicint
qatomicinteger Tests: Raise minimum supported MSVC version to 2015 2018-01-04 20:23:25 +00:00
qatomicpointer
qfuture Merge remote-tracking branch 'origin/5.10' into dev 2017-11-23 09:36:03 +01:00
qfuturesynchronizer Drop unnecessary dependencies from some tests 2017-01-10 16:34:52 +00:00
qfuturewatcher
qmutex tst_QMutex: produce less noise with MSVC 2017-09-01 16:36:17 +00:00
qmutexlocker
qreadlocker
qreadwritelock
qresultstore Fix UB in QFutureInterface: invalid casts from ResultStoreBase to ResultStore<> 2017-03-06 18:32:28 +00:00
qsemaphore QSemaphore: fix deadlock when the woken up thread wakes up another 2018-03-19 20:36:51 +00:00
qthread Move detection of <future> to a configure test 2017-10-06 05:51:54 +00:00
qthreadonce
qthreadpool Merge remote-tracking branch 'origin/5.9' into 5.10 2017-11-23 12:52:18 +01:00
qthreadstorage Use dependencies instead of CONFIG+=ordered 2017-12-02 11:09:15 +00:00
qwaitcondition Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qwritelocker
thread.pro Build examples and tests only if their requirements are met 2017-03-22 15:55:55 +00:00