|Did you know ...||Search Documentation:|
:- use_module(library(thread)).(can be autoloaded)
stop(Reason)exception into Goal. Interrupts can be nested, i.e., it is allowed to run a call_in_thread/2 while the target thread is processing such an interrupt.
This predicate is primarily intended for debugging and inspection tasks.