diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/libtools/threads.c | 6 | ||||
| -rw-r--r-- | src/wrapped/wrappedlibpthread_private.h | 2 |
2 files changed, 7 insertions, 1 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; diff --git a/src/wrapped/wrappedlibpthread_private.h b/src/wrapped/wrappedlibpthread_private.h index 2ab265bb..da7d0200 100644 --- a/src/wrapped/wrappedlibpthread_private.h +++ b/src/wrapped/wrappedlibpthread_private.h @@ -107,7 +107,7 @@ GOM(pthread_cond_broadcast, iFEp) GOM(pthread_cond_destroy, iFEp) GOM(pthread_cond_init, iFEpp) #endif -GO(pthread_cond_signal, iFp) +GOM(pthread_cond_signal, iFEp) GOM(pthread_cond_timedwait, iFEppp) GOM(pthread_cond_wait, iFEpp) GOM(pthread_create, iFEpppp) |