next up previous
Next: Accessing global variable Up: Program execution control Previous: Program execution control

Active process group

In a traditional SPMD program, the concept of switching the active process group is reflected by if statement,

  if(myid>=0 && myid<4) {
    ...
  }

In HPjava,

  on(p) {
    ...
  }



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