summaryrefslogtreecommitdiff
path: root/src/threads/cnd_destroy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads/cnd_destroy.c')
-rw-r--r--src/threads/cnd_destroy.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/threads/cnd_destroy.c b/src/threads/cnd_destroy.c
new file mode 100644
index 00000000..7fda89bf
--- /dev/null
+++ b/src/threads/cnd_destroy.c
@@ -0,0 +1,7 @@
+#include <threads.h>
+#include <pthread.h>
+
+void cnd_destroy(cnd_t *cond)
+{
+ pthread_cond_destroy(cond);
+}