diff options
author | Peter Bex <peter@more-magic.net> | 2012-11-03 19:14:27 +0100 |
---|---|---|
committer | Peter Bex <peter@more-magic.net> | 2012-11-03 19:14:27 +0100 |
commit | e6f78c50b27444c8c8faf88962af60134a32e2f0 (patch) | |
tree | 044e843ea1ce071d2832043d85297272257ecfe4 /scsh-process.setup | |
parent | 1fd316b5679e60bffb822cc9ff8bf893d976eea5 (diff) | |
download | scsh-process-e6f78c50b27444c8c8faf88962af60134a32e2f0.tar.gz |
Support new process-fork form which can kill all other threads. We still see some problems occurring
Diffstat (limited to 'scsh-process.setup')
-rw-r--r-- | scsh-process.setup | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/scsh-process.setup b/scsh-process.setup index 0dcea89..09fb10a 100644 --- a/scsh-process.setup +++ b/scsh-process.setup @@ -1,3 +1,14 @@ ;; -*- Scheme -*- -(standard-extension 'scsh-process "0.3.1") + +;; Assume people on old versions of 4.8.1 don't mind breakage (they're running git master!) +(let ((features (if (version>=? (chicken-version) "4.8.1") + '(-feature has-thread-killer) + '()))) + (compile -s -O3 scsh-process.scm ,@features -j scsh-process) + (compile -s -O3 scsh-process.import.scm)) + +(install-extension + 'scsh-process + '("scsh-process.so" "scsh-process.import.so") + `((version 0.3.2))) |