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