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/tests/flist-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/flist-test.c') diff --git a/src/tests/flist-test.c b/src/tests/flist-test.c index 64c0add2..69152041 100644 --- a/src/tests/flist-test.c +++ b/src/tests/flist-test.c @@ -87,7 +87,7 @@ int main(int argc, char* argv[]) { flist = pa_flist_new(0); for (i = 0; i < THREADS_MAX; i++) { - threads[i] = pa_thread_new(thread_func, pa_sprintf_malloc("Thread #%i", i+1)); + threads[i] = pa_thread_new("test", thread_func, pa_sprintf_malloc("Thread #%i", i+1)); assert(threads[i]); } -- cgit