go-ethereum/vendor/github.com/fjl/memsize/runtimefunc.go

15 lines
310 B
Go
Raw Normal View History

package memsize
import "unsafe"
var _ = unsafe.Pointer(nil)
//go:linkname stopTheWorld runtime.stopTheWorld
func stopTheWorld(reason string)
//go:linkname startTheWorld runtime.startTheWorld
func startTheWorld()
//go:linkname chanbuf runtime.chanbuf
func chanbuf(ch unsafe.Pointer, i uint) unsafe.Pointer