Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2024 Changes in this version + type AlwaysReady struct + func (*AlwaysReady) EventRegister(*Entry) error + func (*AlwaysReady) EventUnregister(e *Entry) + func (*AlwaysReady) Readiness(mask EventMask) EventMask + type ChannelNotifier chan struct + func (c ChannelNotifier) NotifyEvent(EventMask) + type Entry struct + func NewChannelEntry(mask EventMask) (e Entry, ch chan struct{}) + func NewFunctionEntry(mask EventMask, fn func(EventMask)) (e Entry) + func (e *Entry) Init(eventListener EventListener, mask EventMask) + func (e *Entry) Mask() EventMask + func (e *Entry) NotifyEvent(mask EventMask) + type EventListener interface + NotifyEvent func(mask EventMask) + type EventMask uint64 + const EventErr + const EventHUp + const EventIn + const EventInternal + const EventOut + const EventPri + const EventRdHUp + const EventRdNorm + const EventWrNorm + const ReadableEvents + const WritableEvents + func EventMaskFromLinux(e uint32) EventMask + func (e EventMask) ToLinux() uint32 + type NeverReady struct + func (*NeverReady) EventRegister(e *Entry) error + func (*NeverReady) EventUnregister(e *Entry) + func (*NeverReady) Readiness(mask EventMask) EventMask + type Queue struct + func (q *Queue) EventRegister(e *Entry) + func (q *Queue) EventUnregister(e *Entry) + func (q *Queue) Events() EventMask + func (q *Queue) IsEmpty() bool + func (q *Queue) Notify(mask EventMask) + type Waitable interface + EventRegister func(e *Entry) error + EventUnregister func(e *Entry) + Readiness func(mask EventMask) EventMask