mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-27 04:32:15 +01:00
gthread-win32: Check for specific exception code
https://learn.microsoft.com/en-us/cpp/code-quality/c6320?view=msvc-170
This commit is contained in:
parent
f4b53cacbf
commit
19d06340cf
@ -601,7 +601,8 @@ SetThreadName (DWORD dwThreadID,
|
||||
RaiseException (EXCEPTION_SET_THREAD_NAME, 0, infosize,
|
||||
(const ULONG_PTR *) &info);
|
||||
}
|
||||
__except (EXCEPTION_EXECUTE_HANDLER)
|
||||
__except (GetExceptionCode () == EXCEPTION_SET_THREAD_NAME ?
|
||||
EXCEPTION_EXECUTE_HANDLER : EXCEPTION_CONTINUE_SEARCH)
|
||||
{
|
||||
}
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user