- shift_barrier(:Goal, -PI) is semidet[private]
- True if the goal arguments of Goal are called through a barrier
for shift/1, so a tabled goal in them cannot suspend to wait for a
table that was started outside Goal. This is the case for
findall/3 and the other predicates that collect all solutions, the
failure driven loops aggregate_all/3 and foldall/4 and meta
predicates defined in C (see the predicate_property/2 property
shift_barrier). PI is the predicate indicator of Goal, qualified
unless Goal is defined in a system or library module.