diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-03 13:28:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-07 23:58:59 +0200 |
commit | cdc2769162c7e4d4bbab0b221829c0caca31c43d (patch) | |
tree | 27d11febd0da4fc61d8bcd545e66a862abd390b4 /src/tests/thread-test.c | |
parent | 5248a584a36d49b745c1891954e9aa5e689e89a2 (diff) |
thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm
Diffstat (limited to 'src/tests/thread-test.c')
-rw-r--r-- | src/tests/thread-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/thread-test.c b/src/tests/thread-test.c index 2c07b1cc..4943a176 100644 --- a/src/tests/thread-test.c +++ b/src/tests/thread-test.c @@ -102,7 +102,7 @@ int main(int argc, char *argv[]) { tls = pa_tls_new(pa_xfree); for (i = 0; i < THREADS_MAX; i++) { - t[i] = pa_thread_new(thread_func, pa_sprintf_malloc("Thread #%i", i+1)); + t[i] = pa_thread_new("test", thread_func, pa_sprintf_malloc("Thread #%i", i+1)); assert(t[i]); } |