|PTHREAD_SET_NAME_NP(3)||Library Functions Manual||PTHREAD_SET_NAME_NP(3)|
pthread_get_name_np — set
the name of a thread
thread, const char
thread, char *name,
associates name with thread.
This can be useful for debugging, as the name is displayed in the thread
status as displayed when the process receives the
The string pointed to by name is copied, and so need not be valid for the life of the thread.
retrieves name associated with
These functions are non-portable and may not be supported with the above semantics on other POSIX systems.
|February 4, 2019||OpenBSD-current|