SWI-Prolog Did You Know Did you know? SWI-Prolog can handle Unix signals Search Documentation:
Creating and destroying Prolog threads