Next: Package FL.MATLISP, Previous: Package FL.ALIEN, Up: Reference manual
This package provides an interface for allowing parallel execution in Femlisp. It abstracts also from the underlying Lisp's threading features. Unfortunately, these features somewhat differ (e.g. the waitqueue concept in SBCL and gates in Allegro), although one can usually achieve the same effects.
Dynamic variable specialized for each worker thread separately. Should not be used globally.
The number of threads in which Femlisp tries to split the work for some computationally intensive tasks. If NIL, no threading is used.
Registers on the waitqueue, releases mutex, and waits for a notification on the waitqueue.
Execute func as a thread with name name within dynamic bindings given by initial-bindings.
A mixin which adds a mutex to every instance of the class.
Direct slots:
- MUTEX: A mutex for excluding access of other threads.
A thread-safe queue waiting for input.
Superclasses: QUEUE WAITQUEUE-MIXIN
Direct slots:
- FINISHED-P: Indicator for end-of-input.