threaded_exit(Goal)
Retrieve the result of proving Goal
in a new thread. This predicate blocks execution until the reply is sent to the this message queue by the thread executing the goal. When there is no thread proving the goal, the predicate generates an exception. This predicate is non-deterministic, providing access to any alternative solutions of its argument.
threaded_exit(+callable)
instantiation_error
type_error(callable, Goal)
existence_error(goal_thread, Goal)
threaded_exit(Goal)
threaded_exit(::Goal)
threaded_exit(Object::Goal)