[ Advanced Control and Suspensions | The ECLiPSe Built-In Predicates | Reference Manual | Alphabetic Index ]
Returns a list of all currently live (sleeping or scheduled) suspensions.
- A variable.
Suspensions in ECLiPSe go through several stages: They are created,
attached to variables or symbolic triggers, later scheduled for execution,
and finally executed.
suspension/1 returns a list of all currently live suspensions.
They may be either sleeping or already scheduled for execution.
It does not return any dead suspensions.
Note: If you are looking for one particular suspension, consider
using current_suspension/1 instead.
Modes and Determinism
[eclipse 6]: suspend(writeln(a),3,X->inst),
X = X
Y = Y
S = ['SUSP-_358-susp', 'SUSP-_376-susp']
current_suspension / 1, delayed_goals / 1, make_suspension / 3, kill_suspension / 1, schedule_suspensions / 1, schedule_suspensions / 2, suspend / 3, suspend / 4, get_suspension_data / 3