Actions
Feature #3573
closedosmo-trx: Use pthread_setname to identify threads
Start date:
09/19/2018
Due date:
% Done:
100%
Spec Reference:
Description
Pthread allow changing the name of each created thread, which is handy when debugging multi-threaded processes (to quickly identify threads based on TID by reading the name in /proc).
Doing so is quite easy, afair only involves a call to pthread_setname_np():
http://man7.org/linux/man-pages/man3/pthread_setname_np.3.html
Related issues
Actions