Reference

pthread_yield_np(3)

yield control of the current thread

NAME

pthread_yield_np – yield control of the current thread

SYNOPSIS

#include <pthread.h>

void

pthread_yield_np(void);

DESCRIPTION

The pthread_yield() causes the running thread to relinquish the processor.