diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-03 13:28:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-03 13:28:39 +0200 |
commit | bc7314f14e934750194da5582e7317e8de74e504 (patch) | |
tree | 7ab187ecacf8a4deb6b390a649d93e311316bb5b /src/tests/flist-test.c | |
parent | 22f708a1ece613e011ec8740530b1ed40459891d (diff) |
thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm
Diffstat (limited to 'src/tests/flist-test.c')
-rw-r--r-- | src/tests/flist-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]); } |