Home
last modified time | relevance | path

Searched refs:procmask (Results 1 – 2 of 2) sorted by relevance

/libuv/src/win/
H A Dthread.c176 DWORD_PTR procmask; in uv_thread_setaffinity() local
188 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() local
229 if (!GetProcessAffinityMask(hproc, &procmask, &sysmask)) in uv_thread_getaffinity()
232 threadmask = SetThreadAffinityMask(*tid, procmask); in uv_thread_getaffinity()
H A Dutil.c509 DWORD_PTR procmask; in uv_available_parallelism() local
518 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