PTHREAD_SETNAME_NP(3) Library Functions Manual PTHREAD_SETNAME_NP(3)

pthread_setname_npset the thread name

#include <pthread.h>

void
pthread_setname_np(const char *name);

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

This manual page was written by Alexey Zelkin <phantom@FreeBSD.org>.

February 13, 2003 macOS 15.2