mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-30 20:33:08 +02:00
gthread-win32: Print critical if we cannot register fallback handler for the thread name exception
This commit is contained in:
parent
d60ca9aa38
commit
fb3f1733c3
@ -688,9 +688,8 @@ g_thread_win32_init (void)
|
||||
*/
|
||||
SetThreadName_VEH_handle = AddVectoredExceptionHandler (0, &SetThreadName_VEH);
|
||||
if (SetThreadName_VEH_handle == NULL)
|
||||
{
|
||||
/* This is bad, but what can we do? */
|
||||
}
|
||||
g_critical ("%s failed with error code %u",
|
||||
"AddVectoredExceptionHandler", (unsigned int) GetLastError ());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user