blob: 38bb1aa8851a42ebf97e977574b705a3e3a36d97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
;;;; This is the features customization lambda form we will use if the
;;;; user has "threads" in USE *and* they are building for the x86
;;;; architecture.
;;;; :sb-futex is dependent on the presence of a Linux 2.6.x kernel.
;;;; For users of Linux 2.4.x kernels, this is still okay to enable,
;;;; as SBCL will fall back if the futex system-call is not present.
(lambda (list)
(flet ((enable (x)
(pushnew x list))
(disable (x)
(setf list (remove x list))))
(enable :sb-thread)
(enable :sb-futex)
(disable :sb-test))
list)
|