about summary refs log tree commit diff stats
path: root/src/include/box64context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/box64context.h')
-rwxr-xr-xsrc/include/box64context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h
index ffcacc36..4d48c816 100755
--- a/src/include/box64context.h
+++ b/src/include/box64context.h
@@ -200,4 +200,9 @@ int AddTLSPartition(box64context_t* context, int tlssize);
 void thread_set_emu(x64emu_t* emu);
 x64emu_t* thread_get_emu();
 
+// unlock mutex that are locked by current thread (for signal handling). Return a mask of unlock mutex
+int unlockMutex();
+// relock the muxtex that were unlocked
+void relockMutex(int locks);
+
 #endif //__BOX64CONTEXT_H_