When one of the QCOMPAREs in Consumer::run() fails, the consumer returns early, leaving the producer deadlocked in a QSemaphore's acquire() call. Change these to tryAcquire() with a large timeout, so the producer, too, eventually leaves run(). Change-Id: I7421d43305decd4754e09c8e092363594d1be06b Reviewed-by: David Faure <david.faure@kdab.com> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| BLACKLIST | ||
| qsemaphore.pro | ||
| tst_qsemaphore.cpp | ||