Changes between Version 5 and Version 6 of MessagePassing


Ignore:
Timestamp:
07/11/13 22:57:21 (13 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MessagePassing

    v5 v6  
    136136  }
    137137
    138   // main body of process...
     138  // main body of process…
     139
     140  $scope proc_scope;
     141  $heap proc_heap;
     142   
     143  …
     144}
     145
     146void main() {
     147  for (int i=0; i<NPROCS; i++)
     148    procs[i] = $spawn(i);
     149  for (int i=0; i<NPROCS; i++)
     150    $wait procs[i];
    139151
    140152}