Searched refs:procmask (Results 1 – 2 of 2) sorted by relevance
176 DWORD_PTR procmask; in uv_thread_setaffinity() local188 if (!GetProcessAffinityMask(hproc, &procmask, &sysmask)) in uv_thread_setaffinity()194 if (procmask & (1 << i)) in uv_thread_setaffinity()218 DWORD_PTR procmask; in uv_thread_getaffinity() local229 if (!GetProcessAffinityMask(hproc, &procmask, &sysmask)) in uv_thread_getaffinity()232 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 10 milliseconds