From f73e4193f032713529e26c4537e5fac44147c040 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 5 Nov 2021 21:17:14 +0100 Subject: Chnaged memory protection tracking to reduce usage of lock, especially for [DYNAREC] reduced mutrex and chances of deadlock (help RimWorld) --- src/libtools/signals.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libtools') diff --git a/src/libtools/signals.c b/src/libtools/signals.c index 191267c4..2d3a8aed 100755 --- a/src/libtools/signals.c +++ b/src/libtools/signals.c @@ -310,8 +310,8 @@ uint64_t RunFunctionHandler(int* exit, x64_ucontext_t* sigcontext, uintptr_t fnc int oldquitonlongjmp = emu->quitonlongjmp; emu->quitonlongjmp = 2; - //EmuCall(emu, fnc); // avoid DynaCall for now - DynaCall(emu, fnc); + EmuCall(emu, fnc); // avoid DynaCall for now + //DynaCall(emu, fnc); if(nargs>6) R_RSP+=((nargs-6)*sizeof(void*)); -- cgit 1.4.1