mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -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
|
|
@ -146,7 +146,7 @@ int pa_threaded_mainloop_start(pa_threaded_mainloop *m) {
|
|||
|
||||
pa_assert(!m->thread || !pa_thread_is_running(m->thread));
|
||||
|
||||
if (!(m->thread = pa_thread_new(thread, m)))
|
||||
if (!(m->thread = pa_thread_new("threaded-ml", thread, m)))
|
||||
return -1;
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue