Yielding the Control of Execution

Syntax

A thread can yield its execution to other threads. This is done by function thr_yield():

void  thr_yield(void);