Closed Bug 800152 Opened 12 years ago Closed 12 years ago

PR_SetThreadName should exist

Categories

(NSPR :: NSPR, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jrmuizel, Assigned: wtc)

Details

Currently we can only name the current thread. We should be able to name other threads too.
Some platforms (darwin) don't support setting name of a thread different then the current thread. If you are on level of XPCOM, you can use NS_SetThreadName that can name a thread different then the current one.
Ah, I guess this isn't that practical then.
jrmuizel: thank you for the suggestion. As Honza said, PR_SetThreadName cannot be implemented on some platforms, which is why it doesn't exist.
Severity: normal → enhancement
Status: NEW → RESOLVED
Closed: 12 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.