Bug #83
closed
- Due date changed from 02/09/2010 to 02/17/2010
Don't miss the mgt threads.
- Due date changed from 02/17/2010 to 03/13/2010
- Target version changed from 0.8.1 to 0.8.2
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
Right. So we need proper detection of it's availability in configure.in. Anything similar to it in FreeBSD/Mac/Windows?
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.
Can you create a patch for this?
- 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
- 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.
Also available in: Atom
PDF