github.com/CAFxX/fastrand@v0.1.0/proc_id.go (about) 1 // +build !fastrand_nounsafe 2 3 package fastrand 4 5 import _ "unsafe" 6 7 const fastrand_nounsafe = false 8 9 //go:linkname procPin runtime.procPin 10 func procPin() int 11 12 //go:linkname procUnpin runtime.procUnpin 13 func procUnpin()