Task-number: QTBUG-25052
Since upgrading to Qt 5 forces a recompile there
are no longer inline versions of the acquire/release
functions in play.
Change-Id: I6ce6abe0f16f810891f32c7e8c5c94726e5de873
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
// variable. The count can be either positive or negative - a negative
// count signals that a thread is waiting on the barrier.
- // BC note: inlined code from Qt < 4.6 will expect to find the QMutex
- // and QAtomicInt here. ### Qt 5: remove.
- QMutex mutex;
QAtomicInt count;
-
QSemaphore semaphore;
public:
ThreadEngineBarrier();