Rémi Bernon : dinput: Add a description to the dinput worker thread.
Module: wine Branch: master Commit: 4885bdda95faec235d7c8bd70a455b094997dc9c URL: https://gitlab.winehq.org/wine/wine/-/commit/4885bdda95faec235d7c8bd70a455b0... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Wed Feb 22 16:08:46 2023 +0100 dinput: Add a description to the dinput worker thread. --- dlls/dinput/dinput_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/dinput/dinput_main.c b/dlls/dinput/dinput_main.c index f99ebbc2404..a3ff8283561 100644 --- a/dlls/dinput/dinput_main.c +++ b/dlls/dinput/dinput_main.c @@ -363,6 +363,8 @@ static DWORD WINAPI dinput_thread_proc( void *params ) DWORD ret; MSG msg; + SetThreadDescription( GetCurrentThread(), L"wine_dinput_worker" ); + di_em_win = CreateWindowW( L"DIEmWin", L"DIEmWin", 0, 0, 0, 0, 0, HWND_MESSAGE, 0, DINPUT_instance, NULL ); input_thread_state = &state; SetEvent( start_event );
participants (1)
-
Alexandre Julliard