Home
last modified time | relevance | path

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

/libuv/src/win/
H A Dthread.c167 DWORD_PTR procmask; in uv_thread_setaffinity() local
179 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() local
220 if (!GetProcessAffinityMask(hproc, &procmask, &sysmask)) in uv_thread_getaffinity()
223 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 8 milliseconds