diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2020-08-23 06:01:05 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-23 06:01:05 -0500 |
| commit | c36ae84b966327bd9d78d3eabf2309f82d37792e (patch) | |
| tree | be501d40411a5892c3b9cc460b03bfb41253bbc5 /Source/Core/InputCommon/ControllerInterface/Win32/Win32.cpp | |
| parent | 4a34b74e6882a20edbcf2399dc8f9b397e62d82a (diff) | |
| parent | 6ef9d7070168559c9a3140dc5aa40913009a13b7 (diff) | |
Merge pull request #9044 from shuffle2/thread-names
Thread names
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Win32/Win32.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/Win32/Win32.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Win32/Win32.cpp b/Source/Core/InputCommon/ControllerInterface/Win32/Win32.cpp index 62febb4c56..76124a97e8 100644 --- a/Source/Core/InputCommon/ControllerInterface/Win32/Win32.cpp +++ b/Source/Core/InputCommon/ControllerInterface/Win32/Win32.cpp @@ -13,6 +13,7 @@ #include "Common/Event.h" #include "Common/Logging/Log.h" #include "Common/ScopeGuard.h" +#include "Common/Thread.h" #include "InputCommon/ControllerInterface/DInput/DInput.h" #include "InputCommon/ControllerInterface/XInput/XInput.h" @@ -43,6 +44,8 @@ void ciface::Win32::Init(void* hwnd) std::promise<HWND> message_window_promise; s_thread = std::thread([&message_window_promise] { + Common::SetCurrentThreadName("ciface::Win32 Message Loop"); + HWND message_window = nullptr; Common::ScopeGuard promise_guard([&] { message_window_promise.set_value(message_window); }); |
