mirror of
https://github.com/moby/moby.git
synced 2026-07-07 23:28: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.