vibe.d beta banner
get vibe.d
0.7.31

Interface DriverCore

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

interface DriverCore;

Properties

Properties

NameTypeDescription
eventException[set]ExceptionSets an exception to be thrown on the next call to yieldForEvent.

Methods

Methods

NameDescription
isScheduledForResume
notifyIdleNotifies the core that all events have been processed.
resumeTaskResumes the given task.
yieldAndResumeTaskYields the current task and resumes another one.
yieldForEventYields execution until the event loop receives an event.
yieldForEventDeferThrowYields execution until the event loop receives an event.
Authors

Sönke Ludwig

Copyright

© 2012-2015 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.