SWI-Prolog Did You Know Did you know? SWI-Prolog tables can be shared between threads Search Documentation:
Predicate el_insertstr/2