Home
last modified time | relevance | path

Searched refs:pThread (Results 1 – 4 of 4) sorted by relevance

/third_party/openh264/codec/common/src/
DWelsThreadPool.cpp134 WELS_THREAD_ERROR_CODE CWelsThreadPool::OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask) { in OnTaskStart() argument
135 AddThreadToBusyList (pThread); in OnTaskStart()
140 WELS_THREAD_ERROR_CODE CWelsThreadPool::OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask) { in OnTaskStop() argument
143 RemoveThreadFromBusyList (pThread); in OnTaskStop()
144 AddThreadToIdleQueue (pThread); in OnTaskStop()
231 CWelsTaskThread* pThread = NULL; in ExecuteTask() local
235 pThread = GetIdleThread(); in ExecuteTask()
236 if (pThread == NULL) { in ExecuteTask()
244 pThread->SetTask (pTask); in ExecuteTask()
246 AddThreadToIdleQueue (pThread); in ExecuteTask()
[all …]
/third_party/openh264/codec/common/inc/
DWelsThreadPool.h67 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);
DWelsTaskThread.h55 virtual WELS_THREAD_ERROR_CODE OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask) = 0;
56 virtual WELS_THREAD_ERROR_CODE OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask) = 0;
/third_party/sqlite/src/
Dsqlite3.c96401 SQLiteThread *pThread; /* Background thread, if any */
97219 if( pTask->pThread ){
97225 (void)sqlite3ThreadJoin(pTask->pThread, &pRet);
97230 pTask->pThread = 0;
97243 assert( pTask->pThread==0 && pTask->bDone==0 );
97244 return sqlite3ThreadCreate(&pTask->pThread, xTask, pIn);
97829 if( rc!=SQLITE_OK || pTask->pThread==0 ) break;
97842 assert( pTask->pThread==0 && pTask->bDone==0 );