The function retrieves the thread name previously set by pthread_set_name_np(3). The name is cached in the process memory.
Requested by: Willem Jan Withagen <wjw@digiware.nl>
Man page update: Yuri Pankov <yuripv@yuripv.net>
Differential D16702
Add pthread_get_name_np(3). kib on Aug 13 2018, 3:04 PM. Authored by Tags None Referenced Files
Subscribers
Details
The function retrieves the thread name previously set by pthread_set_name_np(3). The name is cached in the process memory. Requested by: Willem Jan Withagen <wjw@digiware.nl>
Diff Detail
Event Timeline
Comment Actions Use strdup(3). I was so concerned with another use of malloc(3) in libthr, so when I decided that it is fine, failed to realize that I reimplemented strdup(3). |