summaryrefslogtreecommitdiff
path: root/src/threads/thrd_equal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads/thrd_equal.c')
-rw-r--r--src/threads/thrd_equal.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/threads/thrd_equal.c b/src/threads/thrd_equal.c
new file mode 100644
index 00000000..7e582310
--- /dev/null
+++ b/src/threads/thrd_equal.c
@@ -0,0 +1,7 @@
+#include <threads.h>
+#include <pthread.h>
+
+int thrd_equal(thrd_t thr0, thrd_t thr1)
+{
+ return pthread_equal(thr0, thr1);
+}