next up previous contents index
Next: Masks vs. Shattered Control Up: Compound Statements Previous: Iterative Control Flow

Shattered Control Flow

     

The statements described earlier in this section have all provided a single thread of control in that a single statement executes at a time. ZPL also has the notion of shattered control flow: When a parallel expression is used in the conditional of a compound statement, the control flow is said to shatter and each index value has its own thread of control. The semantics of shattered control flow are the same as that of an anonymous sequential procedure that has been promoted (See Section 6.2.2).

Certain restrictions are placed on shattered control flow to guarantee predictable and meaningful results.





Kay Nettle
Fri Feb 21 21:14:29 CST 1997