docker folks added NumCPU implementation for windows that supported hot-plugging of CPUs. The implementation used the GetProcessAffinityMask to be able to check which CPUs are active as well.3707a76921The golang "runtime" package has also bene using GetProcessAffinityMask since 1.6 beta1:6410e67a1eSo we don't seem to need the sysinfo.NumCPU from docker/docker. (Note that this is PR is an effort to get away from dependencies from docker/docker) Signed-off-by: Davanum Srinivas <davanum@gmail.com>
6.9 KiB
6.9 KiB