Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Disable thread naming on Windows for now.
We need the C runtime, which we don't link against, for __try/__except.
  • Loading branch information
icculus committed Oct 2, 2011
1 parent 4a0f485 commit 8d73181
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/thread/windows/SDL_systhread.c
Expand Up @@ -161,6 +161,7 @@ typedef struct tagTHREADNAME_INFO
void
SDL_SYS_SetupThread(const char *name)
{
#if 0 /* !!! FIXME: __except needs C runtime, which we don't link against. */
#ifdef _MSC_VER /* !!! FIXME: can we do SEH on other compilers yet? */
/* This magic tells the debugger to name a thread if it's listening. */
THREADNAME_INFO inf;
Expand All @@ -178,6 +179,7 @@ SDL_SYS_SetupThread(const char *name)
/* The program itself should ignore this bogus exception. */
}
#endif
#endif
}

SDL_threadID
Expand Down

0 comments on commit 8d73181

Please sign in to comment.