moby/pkg/sysinfo/numcpu_other.go
Sebastiaan van Stijn 6919b9879b
pkg/sysinfo: unify NumCPU implementation
Use a single exported implementation, so that we can maintain the
GoDoc string in one place, and use non-exported functions for the
actual implementation (which were already in place).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-21 10:53:42 +01:00

9 lines
126 B
Go

//go:build !linux && !windows
// +build !linux,!windows
package sysinfo
func numCPU() int {
// not implemented
return 0
}