Manual Page Search Parameters

PTHREAD_YIELD(3) Library Functions Manual PTHREAD_YIELD(3)

pthread_yieldyield control of the current thread

POSIX Threads Library (libpthread, -lpthread)

#include <pthread.h>

void
pthread_yield(void);

The () forces the running thread to relinquish the processor until it again becomes the head of its thread list.

sched_yield(2)

The pthread_yield() is a non-portable (but quite common) extension to IEEE Std 1003.1-2001 (“POSIX.1”).

September 18, 2006 dev