blob: 7663f48026194662afed02032fe20774b03ee4a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
;;;; -*- Lisp -*-
;;;; 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)
|