Lines Matching refs:hThread
98 if ((HANDLE)pThread->hThread != INVALID_HANDLE_VALUE)
100 CloseHandle((HANDLE)pThread->hThread);
101 pThread->hThread = (uintptr_t)INVALID_HANDLE_VALUE;
268 pThread->hThread = (uintptr_t)INVALID_HANDLE_VALUE;
270 uintptr_t hThread = _beginthreadex(NULL, (unsigned)pThread->cbStack, rtThreadNativeMain, pThread, 0, &uThreadId);
271 if (hThread != 0 && hThread != ~0U)
273 pThread->hThread = hThread;
335 HANDLE hThread = GetCurrentThread();
336 DWORD_PTR dwRet = SetThreadAffinityMask(hThread, dwProcAff);
339 DWORD_PTR dwSet = SetThreadAffinityMask(hThread, dwRet);