From b676d136e481fe4ad6bbdf1ae17627bd0b9a60b1 Mon Sep 17 00:00:00 2001 From: "Ben \"root\" Anderson" Date: Sun, 27 Oct 2013 15:55:22 -0500 Subject: [PATCH] Stub out SetThreadName for now --- src/arch/Threads/Threads_Win32.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/arch/Threads/Threads_Win32.cpp b/src/arch/Threads/Threads_Win32.cpp index ac7a1a62dd..edc08af71b 100644 --- a/src/arch/Threads/Threads_Win32.cpp +++ b/src/arch/Threads/Threads_Win32.cpp @@ -79,12 +79,10 @@ static void SetThreadName( DWORD dwThreadID, LPCTSTR szThreadName ) info.dwThreadID = dwThreadID; info.dwFlags = 0; + // FIXME: Need to find a GCC/GDB-friendly way to do this. #if defined(_MSC_VER) __try { -#endif - // XXX: How does GCC react if this throws an exception, since it doesn't implement SEH? RaiseException(MS_VC_EXCEPTION, 0, sizeof(info) / sizeof(DWORD), (ULONG_PTR *)&info); -#if defined(_MSC_VER) } __except (EXCEPTION_CONTINUE_EXECUTION) { } #endif