summaryrefslogtreecommitdiff
path: root/include/bridges/pthread
diff options
context:
space:
mode:
authorTazyFoundSoup <gardendistrict0x0@outlook.com>2026-06-08 10:35:16 +1000
committerTazyFoundSoup <gardendistrict0x0@outlook.com>2026-06-08 10:35:16 +1000
commitedc34e77d5f19aa2a697f16d9e2d24677dafb506 (patch)
tree2949e8b6cacf7f1d7232dfa6077de0b1c12d9326 /include/bridges/pthread
parentc9f5da1d19e6ace5d6a7c650fe996f359e11d1a5 (diff)
feat(thread): Implement pthread bridge and fix allocator usage in wrapperfeat/multi-threading
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