From 0bb41a73c27df807ba8fcaa205612be7b3a1ac95 Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Thu, 10 Apr 2025 20:09:23 +0800 Subject: [WOW64] More tweaks towards PE build (#2519) --- src/box64context.c | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'src/box64context.c') diff --git a/src/box64context.c b/src/box64context.c index 74e86c83..110873f6 100644 --- a/src/box64context.c +++ b/src/box64context.c @@ -86,39 +86,6 @@ void free_tlsdatasize(void* p) void x64Syscall(x64emu_t *emu); void x86Syscall(x64emu_t *emu); -int unlockMutex() -{ - int ret = unlockCustommemMutex(); - int i; - #ifdef USE_CUSTOM_MUTEX - uint32_t tid = (uint32_t)GetTID(); - #define GO(A, B) \ - i = (native_lock_storeifref2_d(&A, 0, tid)==tid); \ - if(i) { \ - ret|=(1<mutex_trace, 7) - #ifdef DYNAREC - GO(my_context->mutex_dyndump, 8) - #else - GO(my_context->mutex_lock, 8) - #endif - GO(my_context->mutex_tls, 9) - GO(my_context->mutex_thread, 10) - GO(my_context->mutex_bridge, 11) - #undef GO - - return ret; -} - void relockMutex(int locks) { relockCustommemMutex(locks); -- cgit 1.4.1