Versions in this module Expand all Collapse all v1 v1.12.0 Nov 22, 2023 v1.2.0 Nov 22, 2023 Changes in this version + type AlwaysReady struct + func (*AlwaysReady) EventRegister(*Entry, EventMask) + func (*AlwaysReady) EventUnregister(e *Entry) + func (*AlwaysReady) Readiness(mask EventMask) EventMask + type Entry struct + Callback EntryCallback + Context interface{} + func NewChannelEntry(c chan struct{}) (Entry, chan struct{}) + func (e *Entry) Next() *Entry + func (e *Entry) Prev() *Entry + func (e *Entry) SetNext(elem *Entry) + func (e *Entry) SetPrev(elem *Entry) + type EntryCallback interface + Callback func(e *Entry) + type EventMask uint16 + const EventErr + const EventHUp + const EventIn + const EventOut + const EventPri + func EventMaskFromLinux(e uint32) EventMask + func (e EventMask) ToLinux() uint32 + type Queue struct + func (q *Queue) EventRegister(e *Entry, mask EventMask) + 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, mask EventMask) + EventUnregister func(e *Entry) + Readiness func(mask EventMask) EventMask