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

winealsa: Set name of internal threads.

parent de2483e2
...@@ -114,6 +114,8 @@ static DWORD WINAPI notify_thread(void *p) ...@@ -114,6 +114,8 @@ static DWORD WINAPI notify_thread(void *p)
struct notify_context notify; struct notify_context notify;
BOOL quit; BOOL quit;
SetThreadDescription(GetCurrentThread(), L"winealsa_midi_notify");
params.notify = &notify; params.notify = &notify;
params.quit = &quit; params.quit = &quit;
......
...@@ -238,6 +238,8 @@ static DWORD WINAPI alsa_timer_thread(void *user) ...@@ -238,6 +238,8 @@ static DWORD WINAPI alsa_timer_thread(void *user)
struct timer_loop_params params; struct timer_loop_params params;
struct ACImpl *This = user; struct ACImpl *This = user;
SetThreadDescription(GetCurrentThread(), L"winealsa_timer");
params.stream = This->stream; params.stream = This->stream;
ALSA_CALL(timer_loop, &params); ALSA_CALL(timer_loop, &params);
......
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