QtConcurrent: Remove QMutex kept for BC reasons.

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>
bb10
Morten Johan Sorvig 2012-05-24 10:12:19 +02:00 committed by Qt by Nokia
parent d725c3ee23
commit a530ffd6de
1 changed files with 0 additions and 4 deletions

View File

@ -72,11 +72,7 @@ private:
// 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();