ParallelLink

From OpenCog
Jump to: navigation, search

The ParallelLink is a kind of Link that, when evaluated, will evaluate each atom in it's outgoing set in it's own unique thread. It does not wait for the evaluations to complete; instead it implements "fire and forget" semantics. It always evaluates to a truth value of "true", immediately.

The JoinLink is similar, except that it waits for all the threads to complee, and returns the logical-and of the resulting evaluations.

See also