return retVal;
}
- inline bool IsRunning(void)
+ virtual bool IsRunning(void)
{
CLockObject lock(m_threadMutex);
return m_bRunning;
}
- inline bool IsStopped(void)
+ virtual bool IsStopped(void)
{
CLockObject lock(m_threadMutex);
return m_bStop;
}
- inline bool CreateThread(bool bWait = true)
+ virtual bool CreateThread(bool bWait = true)
{
bool bReturn(false);
CLockObject lock(m_threadMutex);
return bReturn;
}
- inline bool StopThread(bool bWaitForExit = true)
+ virtual bool StopThread(bool bWaitForExit = true)
{
bool bReturn(true);
bool bRunning(false);
return true;
}
- inline bool Sleep(uint32_t iTimeout)
+ virtual bool Sleep(uint32_t iTimeout)
{
CLockObject lock(m_threadMutex);
return m_bStop ? false : m_threadCondition.Wait(m_threadMutex, iTimeout);