80 retVal = moreComplexFunction(flag);
84 int status = anotherFunction();
89 retVal = status + flag;
116 return moreComplexFunction(flag);
119 int status = anotherFunction();
122 retVal = status + flag;
152 waitCondition.wait(locker.
mutex());
Mutex * mutex() const noexcept
Returns the mutex on which the QMutexLocker is operating.
void unlock() noexcept
Unlocks the mutex.
void lock() noexcept
Locks the mutex.
SignalWaiter(QMutex *mutex)
void complexFunction()
[1]