mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm
This commit is contained in:
parent
5248a584a3
commit
cdc2769162
23 changed files with 80 additions and 28 deletions
|
|
@ -2046,7 +2046,7 @@ static int start_thread(struct userdata *u) {
|
|||
}
|
||||
#endif
|
||||
|
||||
if (!(u->thread = pa_thread_new(thread_func, u))) {
|
||||
if (!(u->thread = pa_thread_new("bluetooth", thread_func, u))) {
|
||||
pa_log_error("Failed to create IO thread");
|
||||
stop_thread(u);
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue