github.com/sitano/gsysint@v0.0.0-20190607084937-69a4f3233e4e/g/mutex.go (about) 1 package g 2 3 import ( 4 _ "unsafe" 5 ) 6 7 //go:linkname Lock runtime.lock 8 func Lock(l *Mutex) 9 10 //go:linkname Unlock runtime.unlock 11 func Unlock(l *Mutex)