summaryrefslogtreecommitdiff
path: root/src/threadpool.c
diff options
context:
space:
mode:
authorsteven-na <noreply.github@stvnc.dev>2026-08-13 14:01:01 -0700
committersteven-na <noreply.github@stvnc.dev>2026-08-13 14:01:01 -0700
commit0a8bbe0ac3a45f2ff3975d4de07332b25649ba9f (patch)
treee3b08417e34c679b44cf81d180a02ec665193bb1 /src/threadpool.c
parent5f34ef597ae78199e20e82523e3e333602c01b8c (diff)
Simple logging, started on threadpool
Diffstat (limited to 'src/threadpool.c')
-rw-r--r--src/threadpool.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/threadpool.c b/src/threadpool.c
new file mode 100644
index 0000000..3b1168c
--- /dev/null
+++ b/src/threadpool.c
@@ -0,0 +1,10 @@
+#include "common.h"
+#include "threadpool.h"
+#include "smrt_arena.h"
+#include "deque.h"
+
+typedef struct {
+ tp_job_proc proc;
+ void *args;
+} tp_job_t;
+