PosixEventDriverCore

Undocumented in source.

Constructors

this
this(Loop loop, Timers timers, Events events, Processes processes)
Undocumented in source.

Members

Aliases

ExtraEventsCallback
alias ExtraEventsCallback = bool delegate(long)
Undocumented in source.
runInOwnerThread
alias runInOwnerThread = EventDriverCore.runInOwnerThread
Undocumented in source.

Functions

clearExitFlag
void clearExitFlag()
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.
exit
void exit()
Undocumented in source. Be warned that the author may not have intended to support it.
processEvents
ExitReason processEvents(Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
rawUserData
void* rawUserData(StreamSocketFD descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)
Undocumented in source. Be warned that the author may not have intended to support it.
rawUserData
void* rawUserData(DatagramSocketFD descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)
Undocumented in source. Be warned that the author may not have intended to support it.
rawUserDataImpl
void* rawUserDataImpl(FD descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)
Undocumented in source. Be warned that the author may not have intended to support it.
runInOwnerThread
void runInOwnerThread(ThreadCallbackGen del, ThreadCallbackGenParams params)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

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

Inherited Members

From EventDriverCore

waiterCount
size_t waiterCount()

The number of pending callbacks.

processEvents
ExitReason processEvents(Duration timeout)

Runs the event loop to process a chunk of events.

exit
void exit()

Causes processEvents to return with ExitReason.exited as soon as possible.

clearExitFlag
void clearExitFlag()

Resets the exit flag.

runInOwnerThread
void runInOwnerThread(ThreadCallbackGen fun, ThreadCallbackGenParams params)
void runInOwnerThread(void function(ARGS) @(safe) nothrow fun, ARGS args)

Executes a callback in the thread owning the driver.

rawUserData
void* rawUserData(StreamSocketFD descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)
void* rawUserData(DatagramSocketFD descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)

Low-level user data access. Use getUserData instead.

userData
deprecated FD userData [@property setter]

Deprecated - use EventDriverSockets.userData instead.

Meta