1 | Explicitly coordinate groups of processes. |
2 | Groups cooperate in loosely synchronous manner. |
3 | Control constructs on, at and overall dispatch control. |
4 | on(p) { |
5 | overall(i = x|:) |
6 | b [i] = 0 ; |
7 | |
8 | at(j = x [3]) |
9 | b [j] = 23 ; |
10 | |
11 | overall(i = x|2:99) { |
12 | for(int k = 0 ; k < 50) |
13 | a [i, k] = b [i] + k ; |
14 | } |
15 | } |
16 |