winealsa: Set name of internal threads.

This commit is contained in:
Brendan Shanks 2022-11-02 14:52:10 -07:00 committed by Alexandre Julliard
parent de2483e255
commit cf978c9a94
2 changed files with 4 additions and 0 deletions

View file

@ -114,6 +114,8 @@ static DWORD WINAPI notify_thread(void *p)
struct notify_context notify;
BOOL quit;
SetThreadDescription(GetCurrentThread(), L"winealsa_midi_notify");
params.notify = &notify;
params.quit = &quit;

View file

@ -238,6 +238,8 @@ static DWORD WINAPI alsa_timer_thread(void *user)
struct timer_loop_params params;
struct ACImpl *This = user;
SetThreadDescription(GetCurrentThread(), L"winealsa_timer");
params.stream = This->stream;
ALSA_CALL(timer_loop, &params);