altwt
altwt
alt wait
Code: 24 F4
Description: Wait until one of the enabled guards of an alternative has become
ready, and initialize workspace for use during the disabling sequence.
Definition:
if (word[Wptr @ pw.State] ≠ Ready.p)
{
word′[Wptr @ pw.State] ← Waiting.p
Deschedule process and wait for one of the guards to become ready
}
word′[Wptr @ pw.Temp] ← NoneSelected.o
Areg′ ← undefined
Breg′ ← undefined
Creg′ ← undefined
Error signals: none
Comments:
Secondary instruction.
Instruction is a descheduling point.
Uses the pw.Temp slot in the process workspace.
See also: alt altend disc diss dist enbc enbs enbt talt taltwt
37/212
®