yield — yield the current processor to other threads.
void __sched yield (
)
void
no arguments
This is a shortcut for kernel-space yielding - it marks the thread runnable and calls sys_sched_yield.
sys_sched_yield