Home
last modified time | relevance | path

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

12

/third_party/mingw-w64/mingw-w64-libraries/winpthreads/tests_pthread/
Dcontext1.c31 HANDLE hThread; in main() local
35 hThread = pthread_gethandle (t); in main()
39 SuspendThread(hThread); in main()
41 if (WaitForSingleObject(hThread, 0) == WAIT_TIMEOUT) in main()
50 GetThreadContext(hThread, &context); in main()
57 SetThreadContext(hThread, &context); in main()
58 ResumeThread(hThread); in main()
/third_party/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
/third_party/mingw-w64/mingw-w64-headers/include/
Dprocessthreadsapi.h29 WINBASEAPI DWORD WINAPI QueueUserAPC (PAPCFUNC pfnAPC, HANDLE hThread, ULONG_PTR dwData);
35 WINBASEAPI WINBOOL WINAPI SetThreadPriorityBoost (HANDLE hThread, WINBOOL bDisablePriorityBoost);
36 WINBASEAPI WINBOOL WINAPI GetThreadPriorityBoost (HANDLE hThread, PBOOL pDisablePriorityBoost);
44 WINBASEAPI WINBOOL WINAPI GetThreadContext (HANDLE hThread, LPCONTEXT lpContext);
46 …WINBASEAPI WINBOOL WINAPI GetThreadTimes (HANDLE hThread, LPFILETIME lpCreationTime, LPFILETIME lp…
55 HANDLE hThread; member
108 WINBASEAPI WINBOOL WINAPI TerminateThread (HANDLE hThread, DWORD dwExitCode);
115 WINBASEAPI WINBOOL WINAPI SetThreadContext (HANDLE hThread, CONST CONTEXT *lpContext);
148 …WINBASEAPI WINBOOL WINAPI GetThreadIdealProcessorEx (HANDLE hThread, PPROCESSOR_NUMBER lpIdealProc…
192 WINBASEAPI WINBOOL WINAPI SetThreadPriority (HANDLE hThread, int nPriority);
[all …]
Dvdmdbg.h270 …WINBOOL WINAPI VDMGetThreadSelectorEntry(HANDLE hProcess,HANDLE hThread,WORD wSelector,LPVDMLDT_EN…
271 …ULONG WINAPI VDMGetPointer(HANDLE hProcess,HANDLE hThread,WORD wSelector,DWORD dwOffset,WINBOOL fP…
272 WINBOOL WINAPI VDMGetContext(HANDLE hProcess,HANDLE hThread,LPVDMCONTEXT lpVDMContext);
273 WINBOOL WINAPI VDMSetContext(HANDLE hProcess,HANDLE hThread,LPVDMCONTEXT lpVDMContext);
274 …WINBOOL WINAPI VDMGetSelectorModule(HANDLE hProcess,HANDLE hThread,WORD wSelector,PUINT lpSegmentN…
275 …WINBOOL WINAPI VDMGetModuleSelector(HANDLE hProcess,HANDLE hThread,UINT wSegmentNumber,LPSTR lpMod…
276 …WINBOOL WINAPI VDMModuleFirst(HANDLE hProcess,HANDLE hThread,LPMODULEENTRY lpModuleEntry,DEBUGEVEN…
277 …WINBOOL WINAPI VDMModuleNext(HANDLE hProcess,HANDLE hThread,LPMODULEENTRY lpModuleEntry,DEBUGEVENT…
278 …WINBOOL WINAPI VDMGlobalFirst(HANDLE hProcess,HANDLE hThread,LPGLOBALENTRY lpGlobalEntry,WORD wFla…
279 …WINBOOL WINAPI VDMGlobalNext(HANDLE hProcess,HANDLE hThread,LPGLOBALENTRY lpGlobalEntry,WORD wFlag…
[all …]
Dprocesstopologyapi.h21 WINBASEAPI WINBOOL WINAPI GetThreadGroupAffinity (HANDLE hThread, PGROUP_AFFINITY GroupAffinity);
22 …WINBASEAPI WINBOOL WINAPI SetThreadGroupAffinity (HANDLE hThread, CONST GROUP_AFFINITY *GroupAffin…
Dwerapi.h115 HRESULT WINAPI WerReportAddDump(HREPORT hReportHandle,HANDLE hProcess,HANDLE hThread,WER_DUMP_TYPE …
131 HANDLE hThread; member
Dioapiset.h36 WINBASEAPI WINBOOL WINAPI CancelSynchronousIo (HANDLE hThread);
Dminwinbase.h246 HANDLE hThread; member
254 HANDLE hThread; member
Drpcasync.h47 HANDLE hThread; member
188 HANDLE hThread; member
/third_party/skia/third_party/externals/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()
/third_party/boost/boost/winapi/
Dget_thread_times.hpp27 boost::winapi::HANDLE_ hThread,
39 HANDLE_ hThread, in GetThreadTimes() argument
46 hThread, in GetThreadTimes()
Dapc.hpp31 boost::winapi::HANDLE_ hThread,
/third_party/boost/boost/process/detail/windows/
Dchild_handle.hpp48 ::boost::winapi::CloseHandle(proc_info.hThread); in ~child_handle()
54 c.proc_info.hThread = ::boost::winapi::invalid_handle_value; in child_handle()
60 ::boost::winapi::CloseHandle(proc_info.hThread); in operator =()
63 c.proc_info.hThread = ::boost::winapi::invalid_handle_value; in operator =()
/third_party/python/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()
/third_party/skia/third_party/externals/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) {
/third_party/gn/src/base/win/
Dscoped_process_information.cc66 thread_handle_.Set(process_info.hThread); in Set()
89 process_information.hThread = thread_handle_.Take(); in Take()
/third_party/grpc/test/core/util/
Dsubprocess_windows.cc79 if (p->pi.hThread) { in gpr_subprocess_destroy()
80 CloseHandle(p->pi.hThread); in gpr_subprocess_destroy()
/third_party/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/third_party/externals/angle2/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()
/third_party/ninja/src/
Dmsvc_helper-win32.cc101 !CloseHandle(process_info.hThread)) { in Run()
/third_party/boost/libs/winapi/test/run/
Dprocess_abi.cpp100 BOOST_WINAPI_TEST_STRUCT(PROCESS_INFORMATION, (hProcess)(hThread)(dwProcessId)(dwThreadId)); in main()
/third_party/skia/third_party/externals/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,
/third_party/glib/tests/
Dchild-test.c72 CloseHandle (pi.hThread); in get_a_child()

12