[semidet]call_in_thread(+Thread,
:Goal)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.