Searched refs:CWelsThreadPool (Results 1 – 5 of 5) sorted by relevance
55 int32_t CWelsThreadPool::m_iRefCount = 0;56 int32_t CWelsThreadPool::m_iMaxThreadNum = DEFAULT_THREAD_NUM;57 CWelsThreadPool* CWelsThreadPool::m_pThreadPoolSelf = NULL;59 CWelsThreadPool::CWelsThreadPool() : in CWelsThreadPool() function in WelsCommon::CWelsThreadPool64 CWelsThreadPool::~CWelsThreadPool() { in ~CWelsThreadPool()72 WELS_THREAD_ERROR_CODE CWelsThreadPool::SetThreadNum (int32_t iMaxThreadNum) { in SetThreadNum()87 CWelsThreadPool* CWelsThreadPool::AddReference() { in AddReference()90 m_pThreadPoolSelf = new CWelsThreadPool(); in AddReference()112 void CWelsThreadPool::RemoveInstance() { in RemoveInstance()128 bool CWelsThreadPool::IsReferenced() { in IsReferenced()[all …]
20 CWelsThreadPool* pThreadPool = (CWelsThreadPool::AddReference()); in OneCallingFunc()49 int iRet = CWelsThreadPool::SetThreadNum (8); in TEST()51 EXPECT_FALSE (CWelsThreadPool::IsReferenced()); in TEST()53 CWelsThreadPool* pThreadPool = (CWelsThreadPool::AddReference()); in TEST()60 iRet = CWelsThreadPool::SetThreadNum (4); in TEST()66 iRet = CWelsThreadPool::SetThreadNum (4); in TEST()69 pThreadPool = (CWelsThreadPool::AddReference()); in TEST()74 EXPECT_FALSE (CWelsThreadPool::IsReferenced()); in TEST()104 EXPECT_FALSE (CWelsThreadPool::IsReferenced()); in TEST()
53 class CWelsThreadPool : public CWelsThread, public IWelsTaskThreadSink {61 static CWelsThreadPool* AddReference();97 CWelsThreadPool();98 virtual ~CWelsThreadPool();104 static CWelsThreadPool* m_pThreadPoolSelf;115 DISALLOW_COPY_AND_ASSIGN (CWelsThreadPool);
102 iReturn = CWelsThreadPool::SetThreadNum (m_iThreadNum); in Init()103 m_pThreadPool = (CWelsThreadPool::AddReference()); in Init()
95 WelsCommon::CWelsThreadPool* m_pThreadPool;