---
name: "pthread_yield_np"
section: "3"
platform: "macos"
package: "libpthread"
version: "539.100.4"
release: "macOS 26.5"
platforms: ["macos"]
url: "https://new.carta.tech/pthread_yield_np"
---

# 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.
