LibasyncEventDriverCore

Undocumented in source.

Members

Functions

clearExitFlag
void clearExitFlag()
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.
waiterCount
size_t waiterCount()
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