#include <unistd.h>
The yield() function causes the current lightweight process to yield its execution in favor of another lightweight process with the same or greater priority.
thr_yield(3THR)