mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-15 18:06:52 +01:00
cpupick: Move AvoidCPUs from util into cpupick as Avoid
This commit is contained in:
1 parent
73d26dd87d
commit
36579bae03
6 files changed
+35
-29
No files matched your search
@@ -0,0 +1,8 @@
|
||||
//go:build !linux || android || e2e_testing
|
||||
|
||||
package cpupick
|
||||
|
||||
import "errors"
|
||||
|
||||
// Avoid is unsupported outside Linux: there is no thread affinity API to restrict.
|
||||
func Avoid(_ []int, _ bool) error { return errors.ErrUnsupported }
|
||||
Reference in new issue
Block a user