|
PTHREAD_SET_NAME_NP(3)
Contents
|
pthread_set_name_np -- set the thread name
Reentrant C Library (libc_r, -lc_r)
#include <pthread_np.h>
void
pthread_set_name_np(pthread_t tid, const char *name);
The pthread_set_name_np() function sets internal name for thread specified
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.
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>.
FreeBSD 5.2.1 February 13, 2003 FreeBSD 5.2.1 [ Back ] |