all repos — mgba @ a5d8be30d83e5ff9ed376dca74eb961bba5b4593

mGBA Game Boy Advance Emulator

Don't block any signals on the run thread
Jeffrey Pfau jeffrey@endrift.com
Mon, 20 Jan 2014 02:33:40 -0800
commit

a5d8be30d83e5ff9ed376dca74eb961bba5b4593

parent

1f8c1bcdfa8a8fc8b2094870208d8b445627ea1e

1 files changed, 1 insertions(+), 2 deletions(-)

jump to
M src/gba/gba-thread.csrc/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