KqueueEventLoopBase

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
doProcessEventsBase
bool doProcessEventsBase(Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
registerFD
void registerFD(FD fd, EventMask mask, bool edge_triggered)
Undocumented in source. Be warned that the author may not have intended to support it.
unregisterFD
void unregisterFD(FD fd, EventMask mask)
Undocumented in source. Be warned that the author may not have intended to support it.
updateFD
void updateFD(FD fd, EventMask old_mask, EventMask new_mask, bool edge_triggered)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

m_changeCount
size_t m_changeCount;
Undocumented in source.
m_changes
kevent_t[100] m_changes;
Undocumented in source.
m_events
kevent_t[100] m_events;
Undocumented in source.
m_queue
int m_queue;
Undocumented in source.

Inherited Members

From PosixEventLoop

m_fds
AlgebraicChoppedVector!(FDSlot, StreamSocketSlot, StreamListenSocketSlot, DgramSocketSlot, DNSSlot, WatcherSlot, EventSlot, SignalSlot, PipeSlot) m_fds;
Undocumented in source.
m_handleCount
size_t m_handleCount;
Undocumented in source.
m_waiterCount
size_t m_waiterCount;
Undocumented in source.
maxFD
int maxFD [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
doProcessEvents
bool doProcessEvents(Duration dur)

Waits for and processes a single batch of events.

registerFD
void registerFD(FD fd, EventMask mask, bool edge_triggered)

Registers the FD for general notification reception.

unregisterFD
void unregisterFD(FD fd, EventMask mask)

Unregisters the FD for general notification reception.

updateFD
void updateFD(FD fd, EventMask old_mask, EventMask new_mask, bool edge_triggered)

Updates the event mask to use for listening for notifications.

notify
void notify(size_t fd)
Undocumented in source. Be warned that the author may not have intended to support it.
enumerateFDs
void enumerateFDs(FDEnumerateCallback del)
Undocumented in source. Be warned that the author may not have intended to support it.
setNotifyCallback
void setNotifyCallback(FD fd, FDSlotCallback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
initFD
FDType initFD(size_t fd, FDFlags flags, T slot_init)
Undocumented in source. Be warned that the author may not have intended to support it.
clearFD
void clearFD(FD fd)
Undocumented in source. Be warned that the author may not have intended to support it.
rawUserDataImpl
void* rawUserDataImpl(size_t descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta