pthread_setname_np(3)

pthread_setname_np3

Set the thread name

Usage

#include <pthread.h>

void

pthread_setname_np(const char *name);

Overview

The pthread_setname_np() function sets the internal name for the calling thread to string value specified by name argument.

Releases

66 releases since macOS 10.12; the text changed 1 time.

  1. 10.12–10.14.6
  2. 10.15–26.5

Authors

This manual page was written by Alexey Zelkin ⟨[email protected]⟩.

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