Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/target-cpu/fragments/seq-run-start.in
ViewVC logotype

Diff of /branches/vis15/src/compiler/target-cpu/fragments/seq-run-start.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

branches/vis15/src/compiler/target-cpu/fragments/seq-run-initially.in revision 4477, Tue Aug 30 20:58:01 2016 UTC branches/vis15/src/compiler/target-cpu/fragments/seq-run-start.in revision 4489, Sat Sep 3 00:32:03 2016 UTC
# Line 1  Line 1 
1  // Run the initially methods of the strands (sequential version)  // Run the start methods of the strands (sequential version)
2  //  //
3  void world::run_initially ()  void world::run_start_methods ()
4  {  {
5  #ifndef DIDEROT_NO_GLOBALS  #ifndef DIDEROT_NO_GLOBALS
6      globals *glob = this->_globals;      globals *glob = this->_globals;
# Line 12  Line 12 
12          diderot::strand_status sts = static_cast<diderot::strand_status>(this->_status[i]);          diderot::strand_status sts = static_cast<diderot::strand_status>(this->_status[i]);
13          if (sts == diderot::kActive) {          if (sts == diderot::kActive) {
14              @STRANDTY@ *self = &this->_state[i];              @STRANDTY@ *self = &this->_state[i];
15              sts = @STRAND@_initially(@INITIALLY_ARGS@self);              sts = @STRAND@_start(@START_ARGS@self);
16              switch (sts) {              switch (sts) {
17                case diderot::kStabilize:                case diderot::kStabilize:
18                // stabilize the strand's state.                // stabilize the strand's state.
# Line 27  Line 27 
27                  nDying++;                  nDying++;
28                  break;                  break;
29                default:                default:
30                  assert (sts == this->_status[i]);                  assert (sts == this->_strands.status(ix));
31                  break;                  break;
32              }              }
33          }          }

Legend:
Removed from v.4477  
changed lines
  Added in v.4489

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0