endp
endp
end process
Code: F3
Description: Synchronize the termination of a parallel construct. When all branches
have executed an endp instruction a ‘successor’ process then executes. Areg points
to the workspace of this successor process. This workspace contains a data structure
which holds the instruction pointer of the successor process and the number of
processes still active.
Definition:
if (word[Areg @ pp.Count] = 1)
{
Iptr′ ← word[Areg @ pp.IptrSucc]
Wptr′ ← Areg
}
else
word′[Areg @ pp.Count] ← word[Areg @ pp.Count]−1
start next process
Areg′ ← undefined
Breg′ ← undefined
Creg′ ← undefined
Error signals: none
Comments:
Secondary instruction.
Instruction is a descheduling point.
See also: startp stopp
80/212
®