about summary refs log tree commit diff stats
path: root/src/libtools/threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtools/threads.c')
-rw-r--r--src/libtools/threads.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libtools/threads.c b/src/libtools/threads.c
index 6566b84e..074068c0 100644
--- a/src/libtools/threads.c
+++ b/src/libtools/threads.c
@@ -712,6 +712,12 @@ static pthread_cond_t* alignCond(pthread_cond_t* pc)
 	return pc;
 }
 
+EXPORT int my_pthread_cond_signal(x64emu_t* emu, pthread_cond_t* cond)
+{
+	(void)emu;
+	int ret = pthread_cond_signal(alignCond(cond));
+	return ret;
+}
 EXPORT int my_pthread_cond_timedwait(x64emu_t* emu, pthread_cond_t* cond, void* mutex, void* abstime)
 {
 	(void)emu;