summaryrefslogtreecommitdiff
path: root/lib/thread/spawn+netbsd.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread/spawn+netbsd.myr')
-rw-r--r--lib/thread/spawn+netbsd.myr13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/thread/spawn+netbsd.myr b/lib/thread/spawn+netbsd.myr
new file mode 100644
index 0000000..17a8d40
--- /dev/null
+++ b/lib/thread/spawn+netbsd.myr
@@ -0,0 +1,13 @@
+use std
+
+pkg thread =
+ type tid = uint64
+
+ const spawn : (fn : (-> void) -> std.result(tid, byte[:]))
+;;
+
+const spawn = {fn
+ std.die("unimplemented\n")
+ -> `std.Err "fuck"
+}
+