From b8d87ecdc33f360431df59b359194cdbd20360f3 Mon Sep 17 00:00:00 2001 From: RadWolfie Date: Sat, 30 May 2020 20:55:42 -0500 Subject: [PATCH] add note --- src/common/win32/Threads.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/win32/Threads.cpp b/src/common/win32/Threads.cpp index b74f95cfb..5887be960 100644 --- a/src/common/win32/Threads.cpp +++ b/src/common/win32/Threads.cpp @@ -52,6 +52,7 @@ void SetThreadName(DWORD dwThreadID, const char* szThreadName) info.szName = szThreadName; info.dwThreadID = dwThreadID; info.dwFlags = 0; + // NOTE: Require to support Windows platform older than Windows 10 version 1607. Or alternative method will require Windows 10. (see link at top of source file) __try { RaiseException(MS_VC_EXCEPTION, 0, sizeof(info) / sizeof(ULONG_PTR), (ULONG_PTR*)&info); }