ParallelLink

From OpenCog
Jump to: navigation, search

The ParallelLink is a kind of Link that, when evaluated, will evaluate each atom in its outgoing set in its 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 complete, and returns the logical-and of the resulting evaluations.

See also