Home
last modified time | relevance | path

Searched refs:hThread (Results 1 – 25 of 64) sorted by relevance

123

/external/ltp/testcases/kernel/io/disktest/
Dthreading.c137 closeThread(pTmpThreadLast->hThread); in cleanUpTestChildren()
170 test->env->pThreads->hThread = hTmpThread; in CreateTestChild()
189 test->hThread = hTmpThread; in createChild()
204 closeThread(pLastTest->hThread); in cleanUp()
227 void closeThread(hThread_t hThread) in closeThread() argument
233 GetExitCodeThread(hThread, &dwExitCode); in closeThread()
242 pthread_join(hThread, NULL); in closeThread()
Dmain.h191 hThread_t hThread; member
274 hThread_t hThread; member
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DThreading.cpp97 HANDLE hThread = (HANDLE)::_beginthreadex(NULL, in llvm_execute_on_thread() local
101 if (hThread) { in llvm_execute_on_thread()
107 (void)::WaitForSingleObject(hThread, INFINITE); in llvm_execute_on_thread()
108 ::CloseHandle(hThread); in llvm_execute_on_thread()
/external/llvm/lib/Support/
DThreading.cpp96 HANDLE hThread = (HANDLE)::_beginthreadex(NULL, in llvm_execute_on_thread() local
100 if (hThread) { in llvm_execute_on_thread()
106 (void)::WaitForSingleObject(hThread, INFINITE); in llvm_execute_on_thread()
107 ::CloseHandle(hThread); in llvm_execute_on_thread()
/external/python/cpython2/Python/
Dthread_nt.h129 HANDLE hThread; in PyThread_start_new_thread() local
144 hThread = CreateThread(NULL, in PyThread_start_new_thread()
148 hThread = (HANDLE)_beginthreadex(0, in PyThread_start_new_thread()
154 if (hThread == 0) { in PyThread_start_new_thread()
174 PyThread_get_thread_ident(), (void*)hThread)); in PyThread_start_new_thread()
175 CloseHandle(hThread); in PyThread_start_new_thread()
/external/python/cpython3/Python/
Dthread_nt.h184 HANDLE hThread; in PyThread_start_new_thread() local
200 hThread = (HANDLE)_beginthreadex(0, in PyThread_start_new_thread()
204 if (hThread == 0) { in PyThread_start_new_thread()
216 PyThread_get_thread_ident(), (void*)hThread)); in PyThread_start_new_thread()
217 CloseHandle(hThread); in PyThread_start_new_thread()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DThreading.inc40 HANDLE hThread = (HANDLE)::_beginthreadex(
43 if (!hThread) {
48 if (::WaitForSingleObject(hThread, INFINITE) == WAIT_FAILED) {
52 if (::CloseHandle(hThread) == FALSE) {
/external/angle/util/windows/
Dtest_utils_win.cpp140 mProcessInfo.hThread = INVALID_HANDLE_VALUE; in WindowsProcess()
267 if (mProcessInfo.hThread != INVALID_HANDLE_VALUE) in ~WindowsProcess()
269 ::CloseHandle(mProcessInfo.hThread); in ~WindowsProcess()
359 if (::TerminateThread(mProcessInfo.hThread, 1) == FALSE) in kill()
/external/grpc-grpc/test/core/util/
Dsubprocess_windows.cc79 if (p->pi.hThread) { in gpr_subprocess_destroy()
80 CloseHandle(p->pi.hThread); in gpr_subprocess_destroy()
/external/angle/util/windows/third_party/StackWalker/src/
DStackWalker.cpp191 HANDLE hThread,
517 HANDLE hThread,
1034 BOOL StackWalker::ShowCallstack(HANDLE hThread, in ShowCallstack() argument
1066 if (hThread == GetCurrentThread()) in ShowCallstack()
1068 if (GetThreadId(hThread) == GetCurrentThreadId()) in ShowCallstack()
1075 SuspendThread(hThread); in ShowCallstack()
1083 if (GetThreadContext(hThread, &c) == FALSE) in ShowCallstack()
1085 ResumeThread(hThread); in ShowCallstack()
1156 if (!this->m_sw->pSW(imageType, this->m_hProcess, hThread, &s, &c, myReadProcMem, in ShowCallstack()
1290 ResumeThread(hThread); in ShowCallstack()
/external/pdfium/third_party/libopenjpeg20/
Dthread.c221 HANDLE hThread; member
267 thread->hThread = (HANDLE)_beginthreadex(NULL, 0, in opj_thread_create()
270 if (thread->hThread == NULL) { in opj_thread_create()
279 WaitForSingleObject(thread->hThread, INFINITE); in opj_thread_join()
280 CloseHandle(thread->hThread); in opj_thread_join()
/external/llvm-project/llvm/lib/Support/Windows/
DThreading.inc42 HANDLE hThread = (HANDLE)::_beginthreadex(
45 if (!hThread) {
50 if (::WaitForSingleObject(hThread, INFINITE) == WAIT_FAILED) {
54 if (::CloseHandle(hThread) == FALSE) {
/external/tensorflow/tensorflow/core/platform/windows/
Dsubprocess.cc114 CloseHandle(reinterpret_cast<PROCESS_INFORMATION*>(win_pi_)->hThread); in ~SubProcess()
325 CloseHandle(reinterpret_cast<PROCESS_INFORMATION*>(win_pi_)->hThread); in WaitInternal()
327 reinterpret_cast<PROCESS_INFORMATION*>(win_pi_)->hThread = nullptr; in WaitInternal()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
Dos.cpp81 typedef HRESULT(WINAPI * PFNSetThreadDescription)(HANDLE hThread, PCWSTR lpThreadDescription); in SetCurrentThreadName()
294 CloseHandle(procInfo.hThread); in ExecCmd()
/external/llvm-project/compiler-rt/test/profile/Windows/Inputs/
Dinstrprof-multiprocess.c51 CloseHandle(pi->hThread); in wait_child()
/external/python/cpython2/PC/
Dw9xpopen.c107 CloseHandle(pi.hThread); in main()
/external/webrtc/rtc_base/
Dplatform_thread_types.cc24 typedef HRESULT(WINAPI* RTC_SetThreadDescription)(HANDLE hThread,
/external/llvm-project/compiler-rt/test/asan/TestCases/
Dexitcode.cpp55 CloseHandle(pi.hThread); in spawn_child()
/external/llvm-project/compiler-rt/test/asan/TestCases/Windows/
Ddll_control_c.cpp111 CloseHandle(pi.hThread); in run_parent()
/external/compiler-rt/test/asan/TestCases/Windows/
Ddll_control_c.cc111 CloseHandle(pi.hThread); in run_parent()
/external/grpc-grpc/src/core/lib/security/credentials/alts/
Dcheck_gcp_environment_windows.cc96 CloseHandle(pi.hThread); in run_powershell()
/external/perfetto/src/profiling/symbolizer/
Dsubprocess_windows.cc84 CloseHandle(proc_info.hThread); in Subprocess()
/external/llvm/lib/Support/Windows/
DSignals.inc122 HANDLE hThread, LPADDRESS64 lpaddr);
220 HANDLE hProcess, HANDLE hThread,
235 while (fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
293 HANDLE hThread, STACKFRAME64 &StackFrame,
302 if (printStackTraceWithLLVMSymbolizer(OS, hProcess, hThread, StackFrame,
308 if (!fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
809 HANDLE hThread = GetCurrentThread();
810 PrintStackTraceForThread(llvm::errs(), hProcess, hThread, StackFrame,
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DSignals.inc123 HANDLE hThread, LPADDRESS64 lpaddr);
221 HANDLE hProcess, HANDLE hThread,
236 while (fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
294 HANDLE hThread, STACKFRAME64 &StackFrame,
304 if (printStackTraceWithLLVMSymbolizer(OS, hProcess, hThread, StackFrame,
310 if (!fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
812 HANDLE hThread = GetCurrentThread();
813 PrintStackTraceForThread(llvm::errs(), hProcess, hThread, StackFrame,
/external/deqp/framework/delibs/deutil/
DdeProcess.c595 if (process->procInfo.hThread) in deProcess_cleanupHandles()
596 CloseHandle(process->procInfo.hThread); in deProcess_cleanupHandles()
602 process->procInfo.hThread = DE_NULL; in deProcess_cleanupHandles()

123