Scheduler.yield

Yields execution to another logical thread.

This routine is called at various points within concurrency-aware APIs to provide a scheduler a chance to yield execution when using some sort of cooperative multithreading model. If this is not appropriate, such as when each logical thread is backed by a dedicated kernel thread, this routine may be a no-op.

interface Scheduler
nothrow
void
yield
()

Meta