Skip to content
Simple parallelism for Common Lisp on SMPs
Common Lisp
Find file
New pull request
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Cl-future is a simple way to achieve parallelism for common lisp on multiprocessor shared memory Unix machines. 

Cl-future requires the most recent version of Osicat. For that reason, we recommend you use repo-install to install it.


(future <expr>): Evaluate expr in parallel using a forked child process. Returns a "future" object whose value can be retrieved using get-future-value. No side-effects made in <expr> will be visible from the calling process. 

(get-future-value <expr>): walk the list structure "expr", replacing any futures with their evaluated values. Blocks if a future is still running.

*total-slaves*: The maximum number of slaves to run at any one time.

(terminate-children): Kill all currently running children.
Something went wrong with that request. Please try again.