forked from mirror/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
310 B
14 lines
310 B
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
|
|
|