summaryrefslogtreecommitdiffstats
path: root/src/pulse/thread-mainloop.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-03 13:28:15 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-07 23:58:59 +0200
commitcdc2769162c7e4d4bbab0b221829c0caca31c43d (patch)
tree27d11febd0da4fc61d8bcd545e66a862abd390b4 /src/pulse/thread-mainloop.c
parent5248a584a36d49b745c1891954e9aa5e689e89a2 (diff)
thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm
Diffstat (limited to 'src/pulse/thread-mainloop.c')
-rw-r--r--src/pulse/thread-mainloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/thread-mainloop.c b/src/pulse/thread-mainloop.c
index 16934044..c3cf49c4 100644
--- a/src/pulse/thread-mainloop.c
+++ b/src/pulse/thread-mainloop.c
@@ -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;