Did you know ... Search Documentation:
Title for wiki(tags)

Pages tagged "cleanup"

SWI-Prolog Reference Manual
 
4.3 Loading Prolog source files
at_halt/1Register Goal to be run from PL_cleanup(), which is called when the system halts.Source
4.14 Database
retractall/1All facts or clauses in the database for which the head unifies with Head are removed.
4.9 Meta-Call Predicates
setup_call_cleanup/3Calls (once(Setup), Goal).Source
9.1 Creating and destroying Prolog threads
thread_at_exit/1Run Goal just before releasing the thread resources.