return bReturn;
}
- volatile bool m_bSignaled;
- CCondition<volatile bool&> m_condition;
- CMutex m_mutex;
- volatile bool m_bBroadcast;
- unsigned int m_iWaitingThreads;
- bool m_bAutoReset;
+ volatile bool m_bSignaled;
+ CCondition<volatile bool> m_condition;
+ CMutex m_mutex;
+ volatile bool m_bBroadcast;
+ unsigned int m_iWaitingThreads;
+ bool m_bAutoReset;
};
}
void SetRunning(bool bSetTo);
private:
- bool m_bStop;
- bool m_bRunning;
- bool m_bStopped;
- CCondition<bool &> m_threadCondition;
- CMutex m_threadMutex;
- thread_t m_thread;
+ bool m_bStop;
+ bool m_bRunning;
+ bool m_bStopped;
+ CCondition<bool> m_threadCondition;
+ CMutex m_threadMutex;
+ thread_t m_thread;
};
};