mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05: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>  | 
			||
|---|---|---|
| .. | ||
| numcpu.go | ||
| numcpu_linux.go | ||
| numcpu_windows.go | ||
| README.md | ||
| sysinfo.go | ||
| sysinfo_linux.go | ||
| sysinfo_linux_test.go | ||
| sysinfo_test.go | ||
| sysinfo_unix.go | ||
| sysinfo_windows.go | ||
SysInfo stores information about which features a kernel supports.