summaryrefslogtreecommitdiff
path: root/src/user/lib/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/thread.h')
-rw-r--r--src/user/lib/thread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/user/lib/thread.h b/src/user/lib/thread.h
new file mode 100644
index 0000000..0d7376a
--- /dev/null
+++ b/src/user/lib/thread.h
@@ -0,0 +1,4 @@
+#pragma once
+
+void thread_create(int flags, void (*fn)(void*), void *arg);
+_Noreturn void chstack(void *arg, void (*fn)(void*), void *esp);