From f568ae48444679fac8e0433ed8c80e1f1b10320a Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 18 Oct 2025 10:52:07 +0200 Subject: [RV64_DYNAREC] Small refactor on SIGBUS special case handling --- src/include/threads.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') 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 -- cgit 1.4.1