Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win: fix uv_available_parallelism on win32 (libuv#4525)
Fixes commit 58dfb6c from a few days ago. DWORD_PTR is 32 bits on x86 Windows. Use the right bit count when checking the population count. Interestingly enough, it manifested itself as double counting online processors, presumably because the compiler emits a ROR instead of SHR. Fixes: libuv#4524 (cherry picked from commit 5ff1fc7)
- Loading branch information