summaryrefslogtreecommitdiff
path: root/thread-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'thread-utils.h')
-rw-r--r--thread-utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/thread-utils.h b/thread-utils.h
new file mode 100644
index 0000000..1727a03
--- /dev/null
+++ b/thread-utils.h
@@ -0,0 +1,7 @@
+#ifndef THREAD_COMPAT_H
+#define THREAD_COMPAT_H
+
+extern int online_cpus(void);
+extern int init_recursive_mutex(pthread_mutex_t*);
+
+#endif /* THREAD_COMPAT_H */