Go to main content

man pages section 2: System Calls

Exit Print View

Updated: Friday, August 13, 2021
 
 

yield(2)

Name

yield - yield execution to another lightweight process

Synopsis

#include <unistd.h>

void yield(void);

Description

The yield() function causes the current lightweight process to yield its execution in favor of another lightweight process with the same or greater priority.

See Also

thr_yield(3C)