Searched refs:CWelsTaskThread (Results 1 – 5 of 5) sorted by relevance
67 virtual WELS_THREAD_ERROR_CODE OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask);68 virtual WELS_THREAD_ERROR_CODE OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask);84 void DestroyThread (CWelsTaskThread* pThread);85 WELS_THREAD_ERROR_CODE AddThreadToIdleQueue (CWelsTaskThread* pThread);86 WELS_THREAD_ERROR_CODE AddThreadToBusyList (CWelsTaskThread* pThread);87 WELS_THREAD_ERROR_CODE RemoveThreadFromBusyList (CWelsTaskThread* pThread);89 CWelsTaskThread* GetIdleThread();107 CWelsNonDuplicatedList<CWelsTaskThread>* m_cIdleThreads;108 CWelsList<CWelsTaskThread>* m_cBusyThreads;
51 class CWelsTaskThread; variable55 virtual WELS_THREAD_ERROR_CODE OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask) = 0;56 virtual WELS_THREAD_ERROR_CODE OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask) = 0;59 class CWelsTaskThread : public CWelsThread {61 CWelsTaskThread (IWelsTaskThreadSink* pSink);62 virtual ~CWelsTaskThread();77 DISALLOW_COPY_AND_ASSIGN (CWelsTaskThread);
134 WELS_THREAD_ERROR_CODE CWelsThreadPool::OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask) { in OnTaskStart()140 WELS_THREAD_ERROR_CODE CWelsThreadPool::OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask) { in OnTaskStop()168 m_cIdleThreads = new CWelsNonDuplicatedList<CWelsTaskThread>(); in Init()169 m_cBusyThreads = new CWelsList<CWelsTaskThread>(); in Init()231 CWelsTaskThread* pThread = NULL; in ExecuteTask()256 CWelsTaskThread* pThread = GetIdleThread(); in QueueTask()276 CWelsTaskThread* pThread = new CWelsTaskThread (this); in CreateIdleThread()291 void CWelsThreadPool::DestroyThread (CWelsTaskThread* pThread) { in DestroyThread()298 WELS_THREAD_ERROR_CODE CWelsThreadPool::AddThreadToIdleQueue (CWelsTaskThread* pThread) { in AddThreadToIdleQueue()304 WELS_THREAD_ERROR_CODE CWelsThreadPool::AddThreadToBusyList (CWelsTaskThread* pThread) { in AddThreadToBusyList()[all …]
44 CWelsTaskThread::CWelsTaskThread (IWelsTaskThreadSink* pSink) : m_pSink (pSink) { in CWelsTaskThread() function in WelsCommon::CWelsTaskThread52 CWelsTaskThread::~CWelsTaskThread() { in ~CWelsTaskThread()55 void CWelsTaskThread::ExecuteTask() { in ExecuteTask()72 WELS_THREAD_ERROR_CODE CWelsTaskThread::SetTask (WelsCommon::IWelsTask* pTask) { in SetTask()
297 CWelsNonDuplicatedList<CWelsTaskThread> cThreadList; in TEST()298 …CWelsTaskThread* pTaskThread1 = new CWelsTaskThread (NULL); //this initialization seemed making pr… in TEST()300 CWelsTaskThread* pTaskThread2 = new CWelsTaskThread (NULL); in TEST()302 CWelsTaskThread* pTaskThread3 = new CWelsTaskThread (NULL); in TEST()