DriverCore

Provides an event driver with core functions for task/fiber control.

Members

Functions

isScheduledForResume
bool isScheduledForResume(Task t)
Undocumented in source.
notifyIdle
void notifyIdle()

Notifies the core that all events have been processed.

resumeTask
void resumeTask(Task task, Exception event_exception)

Resumes the given task.

yieldAndResumeTask
void yieldAndResumeTask(Task task, Exception event_exception)

Yields the current task and resumes another one.

yieldForEvent
void yieldForEvent()

Yields execution until the event loop receives an event.

yieldForEventDeferThrow
void yieldForEventDeferThrow()

Yields execution until the event loop receives an event.

Properties

eventException
Exception eventException [@property setter]

Sets an exception to be thrown on the next call to yieldForEvent.

Meta