MCPcopy Create free account
hub / github.com/cloudwego/netpoll / Control

Method Control

poll.go:36–36  ·  view source on GitHub ↗

Control the event of file descriptor and the operations is defined by PollEvent.

(operator *FDOperator, event PollEvent)

Source from the content-addressed store, hash-verified

34
35 // Control the event of file descriptor and the operations is defined by PollEvent.
36 Control(operator *FDOperator, event PollEvent) error
37
38 // Alloc the operator from cache.
39 Alloc() (operator *FDOperator)

Callers 15

detachMethod · 0.65
TestPollModFunction · 0.65
BenchmarkPollModFunction · 0.65
RunMethod · 0.65
CloseMethod · 0.65
OnReadMethod · 0.65
openDefaultPollFunction · 0.65
closeCallbackMethod · 0.65
registerMethod · 0.65
rw2rMethod · 0.65
flushMethod · 0.65
waitFlushMethod · 0.65

Implementers 1

defaultPollpoll_default_linux.go

Calls

no outgoing calls

Tested by 2

TestPollModFunction · 0.52
BenchmarkPollModFunction · 0.52