Searched refs:procmask (Results 1 – 2 of 2) sorted by relevance
167 DWORD_PTR procmask; in uv_thread_setaffinity() local179 if (!GetProcessAffinityMask(hproc, &procmask, &sysmask)) in uv_thread_setaffinity()185 if (procmask & (1 << i)) in uv_thread_setaffinity()209 DWORD_PTR procmask; in uv_thread_getaffinity() local220 if (!GetProcessAffinityMask(hproc, &procmask, &sysmask)) in uv_thread_getaffinity()223 threadmask = SetThreadAffinityMask(*tid, procmask); in uv_thread_getaffinity()
509 DWORD_PTR procmask; in uv_available_parallelism() local518 if (GetProcessAffinityMask(GetCurrentProcess(), &procmask, &sysmask)) in uv_available_parallelism()519 for (i = 0; i < 8 * sizeof(procmask); i++) in uv_available_parallelism()520 count += 1 & (procmask >> i); in uv_available_parallelism()
Completed in 8 milliseconds