From cdc2769162c7e4d4bbab0b221829c0caca31c43d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 3 May 2010 13:28:15 +0200 Subject: thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm --- src/modules/module-pipe-sink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/module-pipe-sink.c') diff --git a/src/modules/module-pipe-sink.c b/src/modules/module-pipe-sink.c index 7a4e730f..e26cbf64 100644 --- a/src/modules/module-pipe-sink.c +++ b/src/modules/module-pipe-sink.c @@ -311,7 +311,7 @@ int pa__init(pa_module*m) { pollfd->fd = u->fd; pollfd->events = pollfd->revents = 0; - if (!(u->thread = pa_thread_new(thread_func, u))) { + if (!(u->thread = pa_thread_new("pipe-sink", thread_func, u))) { pa_log("Failed to create thread."); goto fail; } -- cgit