PTHREAD_YIELD_NP(3) Library Functions Manual PTHREAD_YIELD_NP(3)

pthread_yield_npyield control of the current thread

#include <pthread.h>

void
pthread_yield_np(void);

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

September 18, 2006 Mac OS X 12