pthread_yield_np(3)

pthread_yield_np3

Yield control of the current thread

Usage

#include <pthread.h>

void

pthread_yield_np(void);

Overview

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

Releases

Unchanged in 66 releases since macOS 10.12.

  1. 10.12–26.5

From libpthread 539.100.4 in macOS 26.5. Parsed by carta from the page's mdoc source.