summaryrefslogtreecommitdiff
path: root/include/bridges/pthread
diff options
context:
space:
mode:
Diffstat (limited to 'include/bridges/pthread')
-rw-r--r--include/bridges/pthread/thread_bridge.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/bridges/pthread/thread_bridge.h b/include/bridges/pthread/thread_bridge.h
new file mode 100644
index 0000000..dc7b75b
--- /dev/null
+++ b/include/bridges/pthread/thread_bridge.h
@@ -0,0 +1,13 @@
+#ifdef USE_THREAD
+
+#ifndef BRIDGES_PTHREAD_THREAD_BRIDGE_H
+#define BRIDGES_PTHREAD_THREAD_BRIDGE_H
+
+#include <pthread.h>
+#include <tinyff/thread/thread.h>
+
+pthread_t run_job_in_thread(ff_thread_job *job);
+
+#endif
+
+#endif \ No newline at end of file