Documentation ¶
Index ¶
- func HandleChanRecv(handler ChanRecvHandle)
- func HandleChanSend(handler ChanSendHandle)
- func HandleSelect(handler SelectHandle)
- func TypeString(t uintptr) string
- func WrapTypeString(t uintptr) string
- func Wrapchanrecv(c *hchan, ep unsafe.Pointer, block bool) (selected, received bool)
- func Wrapchansend(c *hchan, ep unsafe.Pointer, block bool, callerpc uintptr) bool
- func WrapruntimeSchedule()
- func Wrapselectgo(cas0 *scase, order0 *uint16, pc0 *uintptr, nsends, nrecvs int, block bool) (int, bool)
- type ChanRecvHandle
- type ChanRecvHandler
- type ChanSendHandle
- type SelectHandle
- type SelectHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleChanRecv ¶
func HandleChanRecv(handler ChanRecvHandle)
func HandleChanSend ¶
func HandleChanSend(handler ChanSendHandle)
func HandleSelect ¶
func HandleSelect(handler SelectHandle)
func TypeString ¶
func WrapTypeString ¶
func Wrapchanrecv ¶
func Wrapchansend ¶
func WrapruntimeSchedule ¶
func WrapruntimeSchedule()
Types ¶
type ChanRecvHandle ¶
type ChanRecvHandle func(name string, ep unsafe.Pointer, block bool) ChanRecvHandler
type ChanRecvHandler ¶
type ChanRecvHandler interface {
Ret(selected, received bool)
}
type ChanSendHandle ¶
type SelectHandle ¶
type SelectHandle func(typeName string) SelectHandler
Click to show internal directories.
Click to hide internal directories.