Actions
Bug #83
closedset thread name
Affected Versions:
Effort:
Difficulty:
Label:
Description
For all threads set the name using: prctl(PR_SET_NAME, "myname");
Updated by Victor Julien almost 15 years ago
- Due date changed from 02/09/2010 to 02/17/2010
Don't miss the mgt threads.
Updated by Victor Julien almost 15 years ago
- Due date changed from 02/17/2010 to 03/13/2010
- Target version changed from 0.8.1 to 0.8.2
Updated by Gerado Iglesias Galvan almost 15 years ago
Victor Julien wrote:
For all threads set the name using: prctl(PR_SET_NAME, "myname");
prctl() seems not to be portable and PR_SET_NAME is only available in kernels >2.6.9
Updated by Victor Julien almost 15 years ago
Right. So we need proper detection of it's availability in configure.in. Anything similar to it in FreeBSD/Mac/Windows?
Updated by Gerado Iglesias Galvan almost 15 years ago
Windows uses SetThreadName, but it only works under debugging mode...
FreeBSD has pthread_set_name_np, though it seems it's a debugging interface too.
I have no clue about Mac.
Updated by Victor Julien over 14 years ago
- Due date changed from 03/13/2010 to 04/16/2010
- Assignee changed from OISF Dev to Gerado Iglesias Galvan
- Priority changed from Normal to High
Updated by Victor Julien over 14 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
- Estimated time changed from 2.00 h to 4.00 h
Patch that adds support for this in Linux applied.
Actions