Function DriverCore.yieldAndResumeTask
Yields the current task
and resumes another one.
This is the same as resumeTask
, but also works from within a task
.
If called from a task
, that task
will be yielded first before resuming
the other one.
Prototype
abstract void yieldAndResumeTask(
Task task,
Exception event_exception = null
) @safe;
Throws
May throw an InterruptException
if the calling task
gets
interrupted using Task.interrupt()
.
See also
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.