summaryrefslogtreecommitdiffstats
path: root/src/modules/raop
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-03 13:28:15 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-03 13:28:39 +0200
commitbc7314f14e934750194da5582e7317e8de74e504 (patch)
tree7ab187ecacf8a4deb6b390a649d93e311316bb5b /src/modules/raop
parent22f708a1ece613e011ec8740530b1ed40459891d (diff)
thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm
Diffstat (limited to 'src/modules/raop')
-rw-r--r--src/modules/raop/module-raop-sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/raop/module-raop-sink.c b/src/modules/raop/module-raop-sink.c
index ac48ab10..466488ed 100644
--- a/src/modules/raop/module-raop-sink.c
+++ b/src/modules/raop/module-raop-sink.c
@@ -620,7 +620,7 @@ int pa__init(pa_module*m) {
pa_raop_client_set_callback(u->raop, on_connection, u);
pa_raop_client_set_closed_callback(u->raop, on_close, u);
- if (!(u->thread = pa_thread_new(thread_func, u))) {
+ if (!(u->thread = pa_thread_new("raop-sink", thread_func, u))) {
pa_log("Failed to create thread.");
goto fail;
}