Yield the processor so another ready thread can run.

Synopsis

Declared in <bslmt_threadutil.h>

static
void
yield();

Description

Move the current thread to the end of the scheduler's queue and schedule another thread to run. Note that this allows cooperating threads of the same priority to share CPU resources equally.

Created with MrDocs