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