
make_suspension(+Goal, +Prio, -Susp, +Module)

   Make Goal a suspended goal

Arguments
   Goal                A Prolog Goal.
   Prio                A small integer.
   Susp                A variable.
   Module              An atom.

Type
   Advanced Control and Suspensions

Description

    This is equivalent to

	make_suspension(Goal, Prio, Susp)@Module

    which should be preferred.



Modes and Determinism
   make_suspension(+, +, -, +) is det

Exceptions
     4 --- Goal is not instantiated.
     4 --- Module is not instantiated.
     5 --- Goal is not a callable term.
     5 --- Susp is not a variable.
     5 --- Prio is not an integer.
     5 --- Module is not an atom.
     6 --- Prio is not a valid priority.
    60 --- Goal refers to an undefined precedure.

See Also
   make_suspension / 3
