From d730610c02f9b9af00f83d8d7ee5e78fbd2a72f2 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 20 Oct 2025 12:08:19 +0200 Subject: [DYNAREC] Reversing b40cb7b84a1a404a0d2b042791d9133bde3f1b77 as it generate tons of regression and it tries to fix a non-issue --- src/dynarec/dynablock.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/dynarec/dynablock.c') diff --git a/src/dynarec/dynablock.c b/src/dynarec/dynablock.c index d603fdd9..28906f96 100644 --- a/src/dynarec/dynablock.c +++ b/src/dynarec/dynablock.c @@ -221,16 +221,6 @@ void cancelFillBlock() LongJmp(GET_JUMPBUFF(dynarec_jmpbuf), 1); } -#ifndef WIN32 -static int critical_filled = 0; -static sigset_t critical_prot = {0}; -sigset_t old_sig = {0}; -#endif - -void cancelFillBlockCriticalSection() -{ - pthread_sigmask(SIG_SETMASK, &old_sig, NULL); -} /* return NULL if block is not found / cannot be created. Don't create if create==0 @@ -248,6 +238,9 @@ static dynablock_t* internalDBGetBlock(x64emu_t* emu, uintptr_t addr, uintptr_t } #ifndef WIN32 + static int critical_filled = 0; + static sigset_t critical_prot = {0}; + sigset_t old_sig = {0}; if(!critical_filled) { critical_filled = 1; sigfillset(&critical_prot); -- cgit 1.4.1