cc -mt [ flag... ] file...[ library... ] #include <thread.h>
The thr_yield() function causes the current thread to yield its execution in favor of another thread with the same or greater priority.
The thr_yield() function returns nothing and does not set errno.
See attributes(5) for descriptions of the following attributes:
thr_setprio(3THR), attributes(5), standards(5)