projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cda8ebf
)
module-coreaudio-device: Set the thread name to device name
author
Daniel Mack
<zonque@gmail.com>
Fri, 22 Apr 2011 02:10:46 +0000
(
04:10
+0200)
committer
Colin Guthrie
<colin@mageia.org>
Sat, 23 Apr 2011 17:23:37 +0000
(18:23 +0100)
This makes gdb's "info threads" better understandable
src/modules/macosx/module-coreaudio-device.c
patch
|
blob
|
history
diff --git
a/src/modules/macosx/module-coreaudio-device.c
b/src/modules/macosx/module-coreaudio-device.c
index
0fad9c5
..
7a1f177
100644
(file)
--- 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;
}