summaryrefslogtreecommitdiff
path: root/lib/thread/bld.sub
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread/bld.sub')
-rw-r--r--lib/thread/bld.sub31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/thread/bld.sub b/lib/thread/bld.sub
new file mode 100644
index 0000000..ccb1a56
--- /dev/null
+++ b/lib/thread/bld.sub
@@ -0,0 +1,31 @@
+lib thread =
+ common.myr
+
+ # linux impl of basic thread primitives
+ condvar+linux.myr
+ mutex+linux.myr
+ spawn+linux.myr
+ exit+linux-x64.s
+
+ # freebsd impl of thread primitives
+ condvar+freebsd.myr
+ mutex+freebsd.myr
+ spawn+freebsd.myr
+ exit+freebsd-x64.s
+
+ # osx impl of thread primitives
+ #condvar+osx.myr
+ mutex+osx.myr
+ spawn+osx.myr
+ start+osx-x64.s
+
+ # 9front impl of thread primitives
+ #condvar+plan9.myr
+ mutex+plan9.myr
+ spawn+plan9.myr
+ atomic-impl+plan9-x64.s
+
+ atomic-impl+x64.s
+ atomic.myr
+;;
+