Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simple parallelism for Common Lisp on SMPs

tree: 4eb9a9e05e

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README
Octocat-spinner-32 cl-future.asd
Octocat-spinner-32 future-clsql.lisp
Octocat-spinner-32 future-swank.lisp
Octocat-spinner-32 future.lisp
README
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.

Interface:

(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.