The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
Thread.yield
core
thread
osthread
Thread
Forces a context switch to occur away from the calling thread.
class
Thread
static @
nogc
nothrow
void
yield
(
)
core
thread
osthread
Thread
constructors
this
destructors
~this
functions
id
isDaemon
isMainThread
isRunning
join
name
priority
pushContext
start
static functions
PRIORITY_DEFAULT
PRIORITY_MAX
PRIORITY_MIN
add
getAll
getThis
opApply
sleep
slock
yield
structs
Context
Suggestion Box / Bug Report
Forces a context switch to occur away from the calling thread.