From OpenCog
Jump to: navigation, search

The ThreadJoinLink is a kind of AndLink that, when evaluated, will evaluate each atom in it's outgoing set in it's own unique thread. It will then block the current thread, and wait until each of the threads completes. The resulting truth-value of the evaluation will be the boolean-and of the resulting truth-value from each thread.

The ParallelLink is similar, except that it detaches from its threads immediately, and does not wait for their completion; it always evaluates to true.

See also