PosixEventLoop

Undocumented in source.

Members

Functions

clearFD
void clearFD(FD fd)
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.

enumerateFDs
void enumerateFDs(FDEnumerateCallback del)
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.
notify
void notify(size_t 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.
registerFD
void registerFD(FD fd, EventMask mask, bool edge_triggered)

Registers the FD for general notification reception.

setNotifyCallback
void setNotifyCallback(FD fd, FDSlotCallback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
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.

Properties

maxFD
int maxFD [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

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.

Meta