From: Brendan Shanks bshanks@codeweavers.com
--- dlls/winepulse.drv/mmdevdrv.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/winepulse.drv/mmdevdrv.c b/dlls/winepulse.drv/mmdevdrv.c index d1d9eee068b..d8bfdc80cd8 100644 --- a/dlls/winepulse.drv/mmdevdrv.c +++ b/dlls/winepulse.drv/mmdevdrv.c @@ -234,6 +234,7 @@ static DWORD CALLBACK pulse_mainloop_thread(void *event) { struct main_loop_params params; params.event = event; + SetThreadDescription(GetCurrentThread(), L"winepulse_mainloop"); pulse_call(main_loop, ¶ms); return 0; } @@ -359,6 +360,7 @@ static DWORD WINAPI pulse_timer_cb(void *user) struct timer_loop_params params; ACImpl *This = user; params.stream = This->pulse_stream; + SetThreadDescription(GetCurrentThread(), L"winepulse_timer_loop"); pulse_call(timer_loop, ¶ms); return 0; }