BloombergLP::bslmt::ThreadUtil::yield

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.

Synopsis

Declared in <bslmt_threadutil.h>

static
void
yield();