summaryrefslogtreecommitdiffstats
path: root/src/modules/module-esound-sink.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/modules/module-esound-sink.c
parent5248a584a36d49b745c1891954e9aa5e689e89a2 (diff)
thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm
Diffstat (limited to 'src/modules/module-esound-sink.c')
-rw-r--r--src/modules/module-esound-sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-esound-sink.c b/src/modules/module-esound-sink.c
index d7c678ca..02541e62 100644
--- a/src/modules/module-esound-sink.c
+++ b/src/modules/module-esound-sink.c
@@ -628,7 +628,7 @@ int pa__init(pa_module*m) {
/* Reserve space for the response */
u->read_data = pa_xmalloc(u->read_length = sizeof(int32_t));
- if (!(u->thread = pa_thread_new(thread_func, u))) {
+ if (!(u->thread = pa_thread_new("esound-sink", thread_func, u))) {
pa_log("Failed to create thread.");
goto fail;
}