From e6003e8fc54ce21fe6648ffdf8c7e6bdda9e3f12 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Fri, 22 Apr 2011 04:10:46 +0200 Subject: module-coreaudio-device: Set the thread name to device name This makes gdb's "info threads" better understandable --- src/modules/macosx/module-coreaudio-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/macosx/module-coreaudio-device.c b/src/modules/macosx/module-coreaudio-device.c index 0fad9c50..7a1f1771 100644 --- a/src/modules/macosx/module-coreaudio-device.c +++ b/src/modules/macosx/module-coreaudio-device.c @@ -759,7 +759,7 @@ int pa__init(pa_module *m) { ca_device_create_streams(m, TRUE); /* create the message thread */ - if (!(u->thread = pa_thread_new("coreaudio", thread_func, u))) { + if (!(u->thread = pa_thread_new(u->device_name, thread_func, u))) { pa_log("Failed to create thread."); goto fail; } -- cgit