mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
module-coreaudio-device: Set the thread name to device name
This makes gdb's "info threads" better understandable
This commit is contained in:
parent
cda8ebf8f1
commit
e6003e8fc5
1 changed files with 1 additions and 1 deletions
|
|
@ -759,7 +759,7 @@ int pa__init(pa_module *m) {
|
||||||
ca_device_create_streams(m, TRUE);
|
ca_device_create_streams(m, TRUE);
|
||||||
|
|
||||||
/* create the message thread */
|
/* 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.");
|
pa_log("Failed to create thread.");
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue