next up previous
Next: Global variables Up: Java language Binding Previous: Java language Binding

Basic concepts

   figure19
Figure: Structured processes

  Group p = new Procs2(2,4);

  Range x = new BlockRange(100, p.dim(0)) ;
  Range y = new CyclicRange(200, p.dim(1)) ;

  Location i = x|0;

  p / i

  x | 1 : 49

  on(p) {
    ...
  }

will switch the execution control inside the bracket to processes in Group p.



Guansong Zhang
Thu Nov 13 17:36:47 EST 1997