SWI-Prolog Did You Know Did you know? about nifty JoCaml style multithreading Search Documentation:
Predicate singleton_heap/3