SWI-Prolog Did You Know Did you know? SWI-Prolog has Multi-Thread support Search Documentation:
Predicate thread_create_in_pool/4