Home
last modified time | relevance | path

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

12345678910>>...27

/dports/audio/liblscp/liblscp-0.9.4/src/
H A Dthread.c49 if (pThread) { in _lscp_thread_start()
51 pThread->pfnProc(pThread->pvData); in _lscp_thread_start()
54 free(pThread); in _lscp_thread_start()
89pThread->hThread = CreateThread(NULL, 0, _lscp_thread_start, (LPVOID) pThread, 0, &(pThread->dwThr… in lscp_thread_create()
92 free(pThread); in lscp_thread_create()
101 free(pThread); in lscp_thread_create()
106 return pThread; in lscp_thread_create()
114 if (pThread == NULL) in lscp_thread_join()
125 if (pThread->pthread && pthread_join(pThread->pthread, NULL) == 0) { in lscp_thread_join()
150 if (pThread->pthread && pthread_cancel(pThread->pthread) == 0) { in lscp_thread_cancel()
[all …]
/dports/games/wolfpack/empire-4.4.1/src/lib/empthread/
H A Dntthread.c199 if (pThread) { in loc_debug()
216 if (pThread) { in loc_FreeThreadInfo()
221 free(pThread); in loc_FreeThreadInfo()
335 pThread->pfnEntry(pThread->pvUserData); in empth_threadMain()
384 pThread = malloc(sizeof(*pThread)); in empth_init()
385 if (!pThread) { in empth_init()
389 memset(pThread, 0, sizeof(*pThread)); in empth_init()
427 pThread = malloc(sizeof(*pThread)); in empth_create()
432 memset(pThread, 0, sizeof(*pThread)); in empth_create()
446 if (pThread->ulThreadID == 1L || pThread->ulThreadID == 0L) { in empth_create()
[all …]
/dports/devel/kBuild/kBuild-0.1.9998/src/lib/kStuff/kProfiler2/
H A Dprfcore.cpp.h252 if (!pThread) in KPRF_DECL_FUNC()
270 pThread->cCalls++; in KPRF_DECL_FUNC()
272 if (pThread->cbMaxStack < cbStack) in KPRF_DECL_FUNC()
273 pThread->cbMaxStack = cbStack; in KPRF_DECL_FUNC()
387 if (!pThread) in KPRF_DECL_FUNC()
476 return pThread; in KPRF_DECL_FUNC()
508 if (pThread->offStack) in KPRF_DECL_FUNC()
517 pThread->offStack = 0; in KPRF_DECL_FUNC()
543 if (!pThread) in KPRF_DECL_FUNC()
567 if (!pThread) in KPRF_DECL_FUNC()
[all …]
/dports/net-im/tg_owt/tg_owt-d578c76/src/third_party/openh264/src/codec/common/src/
H A DWelsThreadPool.cpp135 AddThreadToBusyList (pThread); in OnTaskStart()
144 AddThreadToIdleQueue (pThread); in OnTaskStop()
235 pThread = GetIdleThread(); in ExecuteTask()
236 if (pThread == NULL) { in ExecuteTask()
244 pThread->SetTask (pTask); in ExecuteTask()
258 if (pThread != NULL) { in QueueTask()
260 pThread->SetTask (pTask); in QueueTask()
278 if (NULL == pThread) { in CreateIdleThread()
292 pThread->Kill(); in DestroyThread()
293 WELS_DELETE_OP (pThread); in DestroyThread()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/openh264/src/codec/common/src/
H A DWelsThreadPool.cpp135 AddThreadToBusyList (pThread); in OnTaskStart()
144 AddThreadToIdleQueue (pThread); in OnTaskStop()
235 pThread = GetIdleThread(); in ExecuteTask()
236 if (pThread == NULL) { in ExecuteTask()
244 pThread->SetTask (pTask); in ExecuteTask()
258 if (pThread != NULL) { in QueueTask()
260 pThread->SetTask (pTask); in QueueTask()
278 if (NULL == pThread) { in CreateIdleThread()
292 pThread->Kill(); in DestroyThread()
293 WELS_DELETE_OP (pThread); in DestroyThread()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/openh264/src/codec/common/src/
H A DWelsThreadPool.cpp135 AddThreadToBusyList (pThread); in OnTaskStart()
144 AddThreadToIdleQueue (pThread); in OnTaskStop()
235 pThread = GetIdleThread(); in ExecuteTask()
236 if (pThread == NULL) { in ExecuteTask()
244 pThread->SetTask (pTask); in ExecuteTask()
258 if (pThread != NULL) { in QueueTask()
260 pThread->SetTask (pTask); in QueueTask()
278 if (NULL == pThread) { in CreateIdleThread()
292 pThread->Kill(); in DestroyThread()
293 WELS_DELETE_OP (pThread); in DestroyThread()
[all …]
/dports/multimedia/openh264/openh264-2.1.1/codec/common/src/
H A DWelsThreadPool.cpp135 AddThreadToBusyList (pThread); in OnTaskStart()
144 AddThreadToIdleQueue (pThread); in OnTaskStop()
235 pThread = GetIdleThread(); in ExecuteTask()
236 if (pThread == NULL) { in ExecuteTask()
244 pThread->SetTask (pTask); in ExecuteTask()
258 if (pThread != NULL) { in QueueTask()
260 pThread->SetTask (pTask); in QueueTask()
278 if (NULL == pThread) { in CreateIdleThread()
292 pThread->Kill(); in DestroyThread()
293 WELS_DELETE_OP (pThread); in DestroyThread()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corert/src/Native/gc/sample/
H A Dgcenv.ee.cpp118 if (pThread == NULL) in GetThreadList()
121 return pThread->m_pNext; in GetThreadList()
128 Thread * pThread = new Thread(); in AttachCurrentThread() local
129 pThread->GetAllocContext()->init(); in AttachCurrentThread()
130 pCurrentThread = pThread; in AttachCurrentThread()
132 pThread->m_pNext = g_pThreadList; in AttachCurrentThread()
133 g_pThreadList = pThread; in AttachCurrentThread()
188 pThread->DisablePreemptiveGC(); in DisablePreemptiveGC()
193 return pThread->GetAllocContext(); in GetAllocContext()
203 Thread * pThread = NULL; in GcEnumAllocContexts() local
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/ndb/src/common/portlib/
H A DNdbThread.cpp670 (void)pThread; in NdbThread_SetScheduler()
823 (void)pThread; in NdbThread_SetThreadPrio()
1088 pThread->cpu_set_key = NULL; in NdbThread_UnlockCPU()
1109 (void)pThread; in NdbThread_LockCPU()
1298 (void)pThread; in NdbThread_LockCPUSetExclusive()
1399 pThread->tid); in NdbThread_UnlockCPU()
1512 (void)pThread; in NdbThread_LockCPU()
1588 pThread->tid); in NdbThread_LockCPUSet()
1609 (void)pThread; in NdbThread_LockCPUSet()
1731 (void)pThread; in NdbThread_UnassignFromCPUSet()
[all …]
/dports/devel/poco/poco-1.10.1-all/Foundation/src/
H A DThreadPool.cpp252 pThread->start(); in ThreadPool()
276 pThread->start(); in ThreadPool()
375 pThread->release(); in stopAll()
387 pThread->join(); in joinAll()
414 if (pThread->idle()) in housekeep()
452 pThread = *it; in getThread()
454 if (!pThread) in getThread()
461 pThread->start(); in getThread()
465 delete pThread; in getThread()
472 pThread->activate(); in getThread()
[all …]
H A DThreadLocal.cpp65 Thread* pThread = Thread::current(); in current() local
66 if (pThread) in current()
68 return pThread->tls(); in current()
79 Thread* pThread = Thread::current(); in clear() local
80 if (pThread) in clear()
81 pThread->clearTLS(); in clear()
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/ndb/src/common/portlib/
H A DNdbThread.c571 (void)pThread; in NdbThread_SetScheduler()
593 free(pThread->orig_cpu_set); in NdbThread_UnlockCPU()
594 pThread->orig_cpu_set = NULL; in NdbThread_UnlockCPU()
597 if (!pThread->first_lock_call) in NdbThread_UnlockCPU()
601 pThread->tid, in NdbThread_UnlockCPU()
626 pThread->cpu_set_key = NULL; in NdbThread_UnlockCPU()
653 if (pThread->first_lock_call) in set_old_cpu_locking()
655 ret = pset_bind(PS_QUERY, P_LWPID, pThread->tid, &pThread->orig_proc_set); in set_old_cpu_locking()
674 (void)pThread; in set_old_cpu_locking()
803 pThread->tid, in NdbThread_LockCPUSet()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/ndb/src/common/portlib/
H A DNdbThread.c571 (void)pThread; in NdbThread_SetScheduler()
593 free(pThread->orig_cpu_set); in NdbThread_UnlockCPU()
594 pThread->orig_cpu_set = NULL; in NdbThread_UnlockCPU()
597 if (!pThread->first_lock_call) in NdbThread_UnlockCPU()
601 pThread->tid, in NdbThread_UnlockCPU()
626 pThread->cpu_set_key = NULL; in NdbThread_UnlockCPU()
653 if (pThread->first_lock_call) in set_old_cpu_locking()
655 ret = pset_bind(PS_QUERY, P_LWPID, pThread->tid, &pThread->orig_proc_set); in set_old_cpu_locking()
674 (void)pThread; in set_old_cpu_locking()
803 pThread->tid, in NdbThread_LockCPUSet()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/ndb/src/common/portlib/
H A DNdbThread.c571 (void)pThread; in NdbThread_SetScheduler()
593 free(pThread->orig_cpu_set); in NdbThread_UnlockCPU()
594 pThread->orig_cpu_set = NULL; in NdbThread_UnlockCPU()
597 if (!pThread->first_lock_call) in NdbThread_UnlockCPU()
601 pThread->tid, in NdbThread_UnlockCPU()
626 pThread->cpu_set_key = NULL; in NdbThread_UnlockCPU()
653 if (pThread->first_lock_call) in set_old_cpu_locking()
655 ret = pset_bind(PS_QUERY, P_LWPID, pThread->tid, &pThread->orig_proc_set); in set_old_cpu_locking()
674 (void)pThread; in set_old_cpu_locking()
803 pThread->tid, in NdbThread_LockCPUSet()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/storage/ndb/src/common/portlib/
H A DNdbThread.c571 (void)pThread; in NdbThread_SetScheduler()
593 free(pThread->orig_cpu_set); in NdbThread_UnlockCPU()
594 pThread->orig_cpu_set = NULL; in NdbThread_UnlockCPU()
597 if (!pThread->first_lock_call) in NdbThread_UnlockCPU()
601 pThread->tid, in NdbThread_UnlockCPU()
626 pThread->cpu_set_key = NULL; in NdbThread_UnlockCPU()
653 if (pThread->first_lock_call) in set_old_cpu_locking()
655 ret = pset_bind(PS_QUERY, P_LWPID, pThread->tid, &pThread->orig_proc_set); in set_old_cpu_locking()
674 (void)pThread; in set_old_cpu_locking()
803 pThread->tid, in NdbThread_LockCPUSet()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/ndb/src/common/portlib/
H A DNdbThread.c571 (void)pThread; in NdbThread_SetScheduler()
593 free(pThread->orig_cpu_set); in NdbThread_UnlockCPU()
594 pThread->orig_cpu_set = NULL; in NdbThread_UnlockCPU()
597 if (!pThread->first_lock_call) in NdbThread_UnlockCPU()
601 pThread->tid, in NdbThread_UnlockCPU()
626 pThread->cpu_set_key = NULL; in NdbThread_UnlockCPU()
653 if (pThread->first_lock_call) in set_old_cpu_locking()
655 ret = pset_bind(PS_QUERY, P_LWPID, pThread->tid, &pThread->orig_proc_set); in set_old_cpu_locking()
674 (void)pThread; in set_old_cpu_locking()
803 pThread->tid, in NdbThread_LockCPUSet()
[all …]
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/source/core/material/
H A Dpattern.h174 int GetNoiseGen(const TraceThreadData *pThread) const;
312 … Vector3d& EPoint, const Intersection *pIsection, const Ray *pRay, TraceThreadData *pThread) const;
343 … Vector3d& EPoint, const Intersection *pIsection, const Ray *pRay, TraceThreadData *pThread) const;
352 … Vector3d& EPoint, const Intersection *pIsection, const Ray *pRay, TraceThreadData *pThread) const;
413 … Vector3d& EPoint, const Intersection *pIsection, const Ray *pRay, TraceThreadData *pThread) const;
429 … Vector3d& EPoint, const Intersection *pIsection, const Ray *pRay, TraceThreadData *pThread) const;
452 … Vector3d& EPoint, const Intersection *pIsection, const Ray *pRay, TraceThreadData *pThread) const;
559 … Vector3d& EPoint, const Intersection *pIsection, const Ray *pRay, TraceThreadData *pThread) const;
612 … Vector3d& EPoint, const Intersection *pIsection, const Ray *pRay, TraceThreadData *pThread) const;
743 … Vector3d& EPoint, const Intersection *pIsection, const Ray *pRay, TraceThreadData *pThread) const;
[all …]
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/threads/
H A DThread.cpp115 currentThread = pThread; in Create()
120 if (pThread == nullptr) in Create()
134 pThread->SetThreadInfo(); in Create()
138 pThread->m_StartEvent.Set(); in Create()
140 pThread->Action(); in Create()
145 pThread->TermHandler(); in Create()
151 delete pThread; in Create()
152 pThread = NULL; in Create()
218 CThread* pThread = currentThread; in IsCurrentThread() local
219 if (pThread != nullptr) in IsCurrentThread()
[all …]
/dports/audio/lmms/lmms-1.2.2/plugins/zynaddsubfx/zynaddsubfx/src/Nio/
H A DWavEngine.cpp30 :AudioOut(), file(NULL), buffer(synth->samplerate * 4), pThread(NULL) in WavEngine()
48 if(pThread) in Start()
50 pThread = new pthread_t; in Start()
55 pthread_create(pThread, &attr, _AudioThread, this); in Start()
62 if(!pThread) in Stop()
65 pthread_t *tmp = pThread; in Stop()
66 pThread = NULL; in Stop()
70 delete pThread; in Stop()
75 if(!pThread) in push()
116 while(!work.wait() && pThread) { in AudioThread()
H A DNulEngine.cpp33 :AudioOut(), pThread(NULL) in NulEngine()
47 while(pThread) { in AudioThread()
98 pThread = thread; in setAudioEn()
99 pthread_create(pThread, &attr, _AudioThread, this); in setAudioEn()
104 pthread_t *thread = pThread; in setAudioEn()
105 pThread = NULL; in setAudioEn()
113 return pThread; in getAudioEn()
/dports/audio/zynaddsubfx/zynaddsubfx-3.0.6-rc5/src/Nio/
H A DWavEngine.cpp25 :AudioOut(synth_), file(NULL), buffer(synth.samplerate * 4), pThread(NULL) in WavEngine()
43 if(pThread) in Start()
45 pThread = new pthread_t; in Start()
50 pthread_create(pThread, &attr, _AudioThread, this); in Start()
57 if(!pThread) in Stop()
60 pthread_t *tmp = pThread; in Stop()
61 pThread = NULL; in Stop()
65 delete pThread; in Stop()
70 if(!pThread) in push()
111 while(!work.wait() && pThread) { in AudioThread()
H A DNulEngine.cpp24 :AudioOut(synth_), pThread(NULL) in NulEngine()
38 while(pThread) { in AudioThread()
89 pThread = thread; in setAudioEn()
90 pthread_create(pThread, &attr, _AudioThread, this); in setAudioEn()
95 pthread_t *thread = pThread; in setAudioEn()
96 pThread = NULL; in setAudioEn()
104 return pThread; in getAudioEn()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/Native/Runtime/
H A DRestrictedCallouts.cpp184 Thread * pThread = ThreadStore::GetCurrentThread(); in InvokeGcCallouts() local
185 pThread->SetDoNotTriggerGc(); in InvokeGcCallouts()
188 bool fGcStressWasSuppressed = pThread->IsSuppressGcStressSet(); in InvokeGcCallouts()
190 pThread->SetSuppressGcStress(); in InvokeGcCallouts()
203 pThread->ClearSuppressGcStress(); in InvokeGcCallouts()
205 pThread->ClearDoNotTriggerGc(); in InvokeGcCallouts()
218 Thread * pThread = ThreadStore::GetCurrentThread(); in InvokeRefCountedHandleCallbacks() local
219 pThread->SetDoNotTriggerGc(); in InvokeRefCountedHandleCallbacks()
224 pThread->SetSuppressGcStress(); in InvokeRefCountedHandleCallbacks()
245 pThread->ClearSuppressGcStress(); in InvokeRefCountedHandleCallbacks()
[all …]
/dports/net-p2p/dclib/dclib-0.3.23/dclib/core/
H A Dcthread.cpp165 CThread * pThread = (CThread*)object; in MainThread() local
167 pThread->iRun = 1; in MainThread()
175 if ( pThread->iStop == 1 ) in MainThread()
181 if ( pThread->_thread_callback_function != 0 ) in MainThread()
183 pThread->_thread_callback_function->notify(); in MainThread()
187 pThread->Thread(); in MainThread()
199 pThread->iRun = 0; in MainThread()
202 if ( CloseHandle(pThread->thread) == false ) in MainThread()
206 pThread->thread = 0; in MainThread()
/dports/deskutils/cairo-dock/cairo-dock-core-3.4.1/src/gldit/
H A Dcairo-dock-task.c60 G_THREAD_UNREF (pTask->pThread);\
90 g_thread_join (pTask->pThread); // unref the thread in _check_for_update_idle()
95 G_THREAD_UNREF (pTask->pThread); in _check_for_update_idle()
97 pTask->pThread = NULL; in _check_for_update_idle()
104 G_THREAD_UNREF (pTask->pThread); in _check_for_update_idle()
105 pTask->pThread = NULL; in _check_for_update_idle()
251 if (pTask->pThread) in gldi_task_stop()
263 g_thread_join (pTask->pThread); // unref the thread in gldi_task_stop()
264 pTask->pThread = NULL; in gldi_task_stop()
283 pTask->pThread = NULL; in gldi_task_stop()
[all …]

12345678910>>...27