Project

General

Profile

Actions

Feature #3573

closed

osmo-trx: Use pthread_setname to identify threads

Added by pespin over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
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

Related to OsmoTRX - Bug #3575: osmo-trx: User Manual: Add section explaining osmo-trx thread architectureResolvedpespin09/19/2018

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)