github.com/hsfzxjy/dgo/go@v0.2.0/pin/runtime_stubs.go (about)

     1  package pin
     2  
     3  import _ "unsafe"
     4  
     5  //go:linkname runtime_procPin sync/atomic.runtime_procPin
     6  func runtime_procPin()
     7  
     8  //go:linkname runtime_procUnpin sync/atomic.runtime_procUnpin
     9  func runtime_procUnpin()