PTHREAD_SET_NAME_NP(3) BSD Library Functions Manual PTHREAD_SET_NAME_NP(3)NAMEpthread_set_name_np — set the thread name
LIBRARY
POSIX Threads Library (libpthread, -lpthread)
SYNOPSIS
#include <pthread_np.h>
void
pthread_set_name_np(pthread_t tid, const char *name);
DESCRIPTION
The pthread_set_name_np() function sets internal name for thread speci‐
fied by tid argument to string value specified by name argument.
This is a debugging interface and using it on a day-by-day basis makes no
sense.
ERRORS
Because of the debugging nature of this function, all errors that may
appear inside are silently ignored.
AUTHORS
This manual page was written by Alexey Zelkin ⟨phantom@FreeBSD.org⟩.
BSD February 13, 2003 BSD