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/modules/bluetooth/module-bluetooth-device.c | |
parent | 5248a584a36d49b745c1891954e9aa5e689e89a2 (diff) |
thread: name all threads so that the names appear in /proc/$PID/task/$TID/comm
Diffstat (limited to 'src/modules/bluetooth/module-bluetooth-device.c')
-rw-r--r-- | src/modules/bluetooth/module-bluetooth-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/bluetooth/module-bluetooth-device.c b/src/modules/bluetooth/module-bluetooth-device.c index f9721d11..61fe3697 100644 --- a/src/modules/bluetooth/module-bluetooth-device.c +++ b/src/modules/bluetooth/module-bluetooth-device.c @@ -2046,7 +2046,7 @@ static int start_thread(struct userdata *u) { } #endif - if (!(u->thread = pa_thread_new(thread_func, u))) { + if (!(u->thread = pa_thread_new("bluetooth", thread_func, u))) { pa_log_error("Failed to create IO thread"); stop_thread(u); return -1; |