2 Copyright 2006,2007 Greg Pfeil
4 Distributed under the MIT license (see LICENSE file)
9 (eval-when (:compile-toplevel :load-toplevel :execute)
10 #+allegro (require :process)
11 #+corman (require :threads))
13 (eval-when (:compile-toplevel :load-toplevel :execute)
14 #+(or (and allegro multiprocessing)
19 (and digitool ccl-5.1)
22 (and openmcl openmcl-native-threads)
25 (pushnew :thread-support *features*))
27 (asdf:defsystem :bordeaux-threads
28 :author "Greg Pfeil <greg@technomadic.org>"
30 :version #.(with-open-file
31 (vers (merge-pathnames "version.lisp-expr" *load-truename*))
33 :depends-on (:alexandria)
34 :components ((:module "src"
38 (:file "bordeaux-threads")
39 (:file #+(and thread-support armedbear) "impl-abcl"
40 #+(and thread-support allegro) "impl-allegro"
41 #+(and thread-support clisp) "impl-clisp"
42 #+(and thread-support openmcl) "impl-clozure"
43 #+(and thread-support cmu) "impl-cmucl"
44 #+(and thread-support corman) "impl-corman"
45 #+(and thread-support ecl) "impl-ecl"
46 #+(and thread-support lispworks) "impl-lispworks"
47 #+(and thread-support digitool) "impl-mcl"
48 #+(and thread-support sbcl) "impl-sbcl"
49 #+(and thread-support scl) "impl-scl"
50 #-thread-support "unsupported")
51 #+(and thread-support lispworks (not lispworks6))
52 (:file "impl-lispworks-condition-variables")
53 #+(and thread-support (or armedbear digitool ecl))
54 (:file "condition-variables")
55 (:file "default-implementations"))))
56 :in-order-to ((asdf:test-op (asdf:load-op bordeaux-threads-test)))
57 :perform (asdf:test-op :after (op c)
58 (asdf:oos 'asdf:test-op :bordeaux-threads-test)))