github.com/benz9527/xboot@v0.0.0-20240504061247-c23f15593274/lib/infra/runtime_sched.go (about) 1 package infra 2 3 import ( 4 _ "unsafe" 5 ) 6 7 //go:linkname OsYield runtime.osyield 8 func OsYield() 9 10 //go:linkname ProcYield runtime.procyield 11 func ProcYield(cycles uint32)