diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-10-20 12:08:19 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-10-20 12:08:29 +0200 |
| commit | d730610c02f9b9af00f83d8d7ee5e78fbd2a72f2 (patch) | |
| tree | 3a5556b0544b44386440c4bdadae6b38598905dc /src/dynarec/dynablock.c | |
| parent | b0c11ae14f59346e3348a3c66823cbac52aad835 (diff) | |
| download | box64-d730610c02f9b9af00f83d8d7ee5e78fbd2a72f2.tar.gz box64-d730610c02f9b9af00f83d8d7ee5e78fbd2a72f2.zip | |
[DYNAREC] Reversing b40cb7b84a1a404a0d2b042791d9133bde3f1b77 as it generate tons of regression and it tries to fix a non-issue
Diffstat (limited to 'src/dynarec/dynablock.c')
| -rw-r--r-- | src/dynarec/dynablock.c | 13 |
1 files changed, 3 insertions, 10 deletions
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); |