#include <oskit/threads/pthread.h> void sched_yield(void);
void sched_yield(void);
The calling thread voluntarily yields the processor. The highest priority thread is chosen for execution.
pthread_setprio, pthread_setschedparam