diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-03 13:28:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-07 23:58:59 +0200 |
commit | cdc2769162c7e4d4bbab0b221829c0caca31c43d (patch) | |
tree | 27d11febd0da4fc61d8bcd545e66a862abd390b4 /src/modules/module-combine.c | |
parent | 5248a584a36d49b745c1891954e9aa5e689e89a2 (diff) |
thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm
Diffstat (limited to 'src/modules/module-combine.c')
-rw-r--r-- | src/modules/module-combine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-combine.c b/src/modules/module-combine.c index cffb901b..5f94fdd2 100644 --- a/src/modules/module-combine.c +++ b/src/modules/module-combine.c @@ -1304,7 +1304,7 @@ int pa__init(pa_module*m) { u->sink_unlink_slot = pa_hook_connect(&m->core->hooks[PA_CORE_HOOK_SINK_UNLINK], PA_HOOK_EARLY, (pa_hook_cb_t) sink_unlink_hook_cb, u); u->sink_state_changed_slot = pa_hook_connect(&m->core->hooks[PA_CORE_HOOK_SINK_STATE_CHANGED], PA_HOOK_NORMAL, (pa_hook_cb_t) sink_state_changed_hook_cb, u); - if (!(u->thread = pa_thread_new(thread_func, u))) { + if (!(u->thread = pa_thread_new("combine", thread_func, u))) { pa_log("Failed to create thread."); goto fail; } |