mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Use Getpid and SchedGetaffinity from golang.org/x/sys/unix to get the number of CPUs in numCPU on Linux. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
SysInfo stores information about which features a kernel supports.