Commit de2483e2 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

winepulse: Set name of internal threads.

parent 28b6acd1
...@@ -234,6 +234,7 @@ static DWORD CALLBACK pulse_mainloop_thread(void *event) ...@@ -234,6 +234,7 @@ static DWORD CALLBACK pulse_mainloop_thread(void *event)
{ {
struct main_loop_params params; struct main_loop_params params;
params.event = event; params.event = event;
SetThreadDescription(GetCurrentThread(), L"winepulse_mainloop");
pulse_call(main_loop, &params); pulse_call(main_loop, &params);
return 0; return 0;
} }
...@@ -359,6 +360,7 @@ static DWORD WINAPI pulse_timer_cb(void *user) ...@@ -359,6 +360,7 @@ static DWORD WINAPI pulse_timer_cb(void *user)
struct timer_loop_params params; struct timer_loop_params params;
ACImpl *This = user; ACImpl *This = user;
params.stream = This->pulse_stream; params.stream = This->pulse_stream;
SetThreadDescription(GetCurrentThread(), L"winepulse_timer_loop");
pulse_call(timer_loop, &params); pulse_call(timer_loop, &params);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment