- added
broadcast-task— executes a given task inside each worker - added
kernel-worker-index— determine if the current thread is a
worker thread, and if so, obtain its assigned index
lparallel-2.8.0 released
Posted in Uncategorized
Leave a comment
lparallel-2.7.0 released
- added the ability to bind multiple values in
plet, e.g.(plet ((x 1) ((y z) (values 2 3))) (+ x y z)) ;=> 6 - added
slet— serial/non-parallelletwith the same syntax aspletfor binding multiple values - various optimizations
Posted in Uncategorized
Leave a comment
lparallel-2.6.0 released
- added a
:timeoutoption totry-pop-queueandtry-receive-result; this requires the latest version of bordeaux-threads (lparallel will still run with older versions of bordeaux-threads as long as the:timeoutoption is not used) - optimizations to
defpun - optimizations from smaller generated code size
Posted in Uncategorized
Leave a comment
Introducing lfarm
lfarm is a distributed version of lparallel which replaces worker threads with remote processes. For example lfarm:pmap will subdivide the input sequence(s), send the parts to remote machines for mapping, and then combine the results. Likewise lfarm:future wraps remote task execution in the metaphor of promises. Most of the lparallel kernel API is retained with minor variations.
Posted in Uncategorized
Leave a comment
lparallel-2.4.0 released
pletnow exploits type declarationsdefpun*,defpun/type*, andpsort*are now deprecated — instead use the unstarred versions and pass:use-caller ttomake-kernel- parallel compilation is now safe
Posted in Uncategorized
Leave a comment
lparallel-2.3.0 released
make-queue and make-channel now accept a :fixed-capacity argument for limiting the number of elements stored
make-queue now accepts an :initial-contents argument
make-queue or make-channel is deprecated; a &rest hack is present for backward compatibility
queue-full-p
Posted in Uncategorized
Leave a comment
lparallel-2.2.0 released
- exported types:
kernel,channel,ptree - added
ptree-computed-p— query the computed state of a ptree node make-kernelnow aborts cleanly when a worker fails to initialize, e.g. whenmake-threadfails or when a:contextfunction abortscheck-kernelnow returns a kernel instance- added a front-end lock to some ptree functions — removes the requirement that some calls be exclusive
- improved performance of functions defined by
defpun
Posted in Uncategorized
Leave a comment