summaryrefslogtreecommitdiff
path: root/lib/thread/bld.sub
blob: 3cc710a499e0c879184675170bf61f8a7fb4a9a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
lib thread =
	common.myr
	hookstd.myr	# install thread hooks
	mutex.myr	# fallback, for unimplemented platforms

	# 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
	ncpu+freebsd.myr
	exit+freebsd-x64.s

	# netbsd impl of thread primitives
	#condvar+netbsd.myr
	mutex+netbsd.myr
	spawn+netbsd.myr
	ncpu+netbsd.myr
	exit+netbsd-x64.s

	# osx impl of thread primitives
	#condvar+osx.myr
	spawn+osx.myr
	start+osx-x64.s

	# 9front impl of thread primitives
	#condvar+plan9.myr
	mutex+plan9.myr
	spawn+plan9.myr
	ncpu+plan9.myr
	atomic-impl+plan9-x64.s

	# openbsd impl of thread primitives
	spawn+openbsd.myr
	exit+openbsd-x64.s


	atomic-impl+x64.s
	atomic.myr

        lib ../sys:sys
        lib ../std:std
;;