Thread.yield

Forces a context switch to occur away from the calling thread.

class Thread
static
void
yield
@nogc nothrow
(
)
Suggestion Box / Bug Report