github.com/CAFxX/fastrand@v0.1.0/cpu_yield.go (about) 1 // +build !fastrand_nounsafe 2 3 package fastrand 4 5 import _ "unsafe" 6 7 //go:linkname cpuYield runtime.procyield 8 func cpuYield(n uint32)