about summary refs log tree commit diff stats
path: root/src/include
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-10-18 10:52:07 +0200
committerptitSeb <sebastien.chev@gmail.com>2025-10-18 10:52:07 +0200
commitf568ae48444679fac8e0433ed8c80e1f1b10320a (patch)
tree87e10e7ef85e88cdcfbb4d19e8295196bfb3fe4f /src/include
parent4edbdc005b60c048c7229e1cafc203f0b92e65ec (diff)
downloadbox64-f568ae48444679fac8e0433ed8c80e1f1b10320a.tar.gz
box64-f568ae48444679fac8e0433ed8c80e1f1b10320a.zip
[RV64_DYNAREC] Small refactor on SIGBUS special case handling
Diffstat (limited to 'src/include')
-rw-r--r--src/include/threads.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/threads.h b/src/include/threads.h
index 7a77657f..d4b1b9df 100644
--- a/src/include/threads.h
+++ b/src/include/threads.h
@@ -31,5 +31,7 @@ void* my_prepare_thread(x64emu_t *emu, void* f, void* arg, int ssize, void** pet
 
 //check and unlock if a mutex is locked by current thread (works only for PTHREAD_MUTEX_ERRORCHECK typed mutex)
 int checkUnlockMutex(void* m);
+//check if a mutex is locked by current thread (works only for PTHREAD_MUTEX_ERRORCHECK typed mutex)
+int checkNolockMutex(void* m);
 
 #endif //_THREADS_H_
\ No newline at end of file