PTHREAD_SET_NAME_NP(3) BSD Library Functions Manual PTHREAD_SET_NAME_NP(3)NAMEpthread_set_name_np — set the thread name
POSIX Threads Library (libpthread, -lpthread)
pthread_set_name_np(pthread_t tid, const char *name);
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
Because of the debugging nature of this function, all errors that may
appear inside are silently ignored.
This manual page was written by Alexey Zelkin ⟨phantom@FreeBSD.org⟩.
BSD February 13, 2003 BSD