Clarify that JOIN-THREAD passes through the return values of the thread function.
[bordeaux-threads.git] / bordeaux-threads.asd
blobf780b42f0cb8c1c730f71e4ff7778682308a3d88
1 ;;;; -*- Mode: Lisp; indent-tabs-mode: nil -*-
3 #|
4 Copyright 2006,2007 Greg Pfeil
6 Distributed under the MIT license (see LICENSE file)
7 |#
9 #.(unless (or #+asdf3.1 (version<= "3.1" (asdf-version)))
10     (error "You need ASDF >= 3.1 to load this system correctly."))
12 (eval-when (:compile-toplevel :load-toplevel :execute)
13   #+(or armedbear
14         (and allegro multiprocessing)
15         (and clisp mt)
16         (and openmcl openmcl-native-threads)
17         (and cmu mp)
18         corman
19         (and ecl threads)
20         genera
21         mkcl
22         lispworks
23         (and digitool ccl-5.1)
24         (and sbcl sb-thread)
25         scl)
26   (pushnew :thread-support *features*))
28 (defsystem :bordeaux-threads
29   :author "Greg Pfeil <greg@technomadic.org>"
30   :licence "MIT"
31   :description "Bordeaux Threads makes writing portable multi-threaded apps simple."
32   :version (:read-file-form "version.sexp")
33   :depends-on (:alexandria
34                #+(and allegro (version>= 9))       (:require "smputil")
35                #+(and allegro (not (version>= 9))) (:require "process")
36                #+corman                            (:require "threads"))
37   :components ((:static-file "version.sexp")
38                (:module "src"
39                 :serial t
40                 :components
41                 ((:file "pkgdcl")
42                  (:file "bordeaux-threads")
43                  (:file #+(and thread-support armedbear) "impl-abcl"
44                         #+(and thread-support allegro)   "impl-allegro"
45                         #+(and thread-support clisp)     "impl-clisp"
46                         #+(and thread-support openmcl)   "impl-clozure"
47                         #+(and thread-support cmu)       "impl-cmucl"
48                         #+(and thread-support corman)    "impl-corman"
49                         #+(and thread-support ecl)       "impl-ecl"
50                         #+(and thread-support genera)    "impl-genera"
51                         #+(and thread-support mkcl)      "impl-mkcl"
52                         #+(and thread-support lispworks) "impl-lispworks"
53                         #+(and thread-support digitool)  "impl-mcl"
54                         #+(and thread-support sbcl)      "impl-sbcl"
55                         #+(and thread-support scl)       "impl-scl"
56                         #-thread-support                 "impl-null")
57                  #+(and thread-support lispworks (not (or lispworks6 lispworks7)))
58                  (:file "impl-lispworks-condition-variables")
59                  #+(and thread-support digitool)
60                  (:file "condition-variables")
61                  (:file "default-implementations")))))
63 (defsystem :bordeaux-threads/test
64   :author "Greg Pfeil <greg@technomadic.org>"
65   :description "Bordeaux Threads test suite."
66   :licence "MIT"
67   :version (:read-file-form "version.sexp")
68   :depends-on (:bordeaux-threads :fiveam)
69   :components ((:module "test"
70                 :components ((:file "bordeaux-threads-test")))))
72 (defmethod perform ((o test-op) (c (eql (find-system :bordeaux-threads))))
73   (load-system :bordeaux-threads/test)
74   (symbol-call :5am :run! :bordeaux-threads))