Don't block any signals on the run thread
Jeffrey Pfau jeffrey@endrift.com
Mon, 20 Jan 2014 02:33:40 -0800
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
src/gba/gba-thread.c
→
src/gba/gba-thread.c
@@ -52,8 +52,7 @@ char* savedata = 0;
#if !defined(_WIN32) && defined(USE_PTHREADS) sigset_t signals; - sigfillset(&signals); - sigdelset(&signals, SIGTRAP); + sigemptyset(&signals); pthread_sigmask(SIG_SETMASK, &signals, 0); #endif