mirror of
https://github.com/containers/podman.git
synced 2025-11-30 01:58:46 +08:00
10 lines
113 B
Go
10 lines
113 B
Go
//go:build !linux && !windows
|
|
|
|
package sysinfo
|
|
|
|
import "runtime"
|
|
|
|
func numCPU() int {
|
|
return runtime.NumCPU()
|
|
}
|