man.bsd.lv manual page server

Manual Page Search Parameters
PTHREAD_YIELD(3) Library Functions Manual PTHREAD_YIELD(3)

pthread_yieldyield control of the current thread

library “libpthread”

#include <pthread.h>

void
pthread_yield(void);

#include <pthread_np.h>

void
pthread_yield_np(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”).

December 16, 2020 DragonFly-6.0.1