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
Updated by pespin over 5 years ago
- Related to Bug #3575: osmo-trx: User Manual: Add section explaining osmo-trx thread architecture added
Updated by pespin over 5 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 90
Submitted in: https://gerrit.osmocom.org/#/c/osmo-trx/+/11047 Use pthread_setname_np to name threads
Updated by pespin over 5 years ago
- Status changed from Feedback to Resolved
- % Done changed from 90 to 100
Merged, closing.
Actions