summaryrefslogtreecommitdiff
path: root/src/thread/pthread_cond_wait.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_cond_wait.c')
-rw-r--r--src/thread/pthread_cond_wait.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/thread/pthread_cond_wait.c b/src/thread/pthread_cond_wait.c
new file mode 100644
index 00000000..eb70e5f7
--- /dev/null
+++ b/src/thread/pthread_cond_wait.c
@@ -0,0 +1,6 @@
+#include "pthread_impl.h"
+
+int pthread_cond_wait(pthread_cond_t *c, pthread_mutex_t *m)
+{
+ return pthread_cond_timedwait(c, m, 0);
+}