MCPcopy
hub / github.com/google/gvisor / Notify

Method Notify

pkg/eventfd/eventfd.go:74–76  ·  view source on GitHub ↗

Notify alerts other users of the eventfd. Users can receive alerts by calling Wait or Read.

()

Source from the content-addressed store, hash-verified

72// Notify alerts other users of the eventfd. Users can receive alerts by
73// calling Wait or Read.
74func (ev Eventfd) Notify() error {
75 return ev.Write(1)
76}
77
78// Write writes a specific value to the eventfd.
79func (ev Eventfd) Write(val uint64) error {

Callers 1

TestWaitFunction · 0.45

Calls 1

WriteMethod · 0.95

Tested by 1

TestWaitFunction · 0.36