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.in
ViewVC logotype

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

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

revision 4579, Sat Sep 17 20:49:45 2016 UTC revision 4580, Sat Sep 17 20:51:34 2016 UTC
# Line 47  Line 47 
47        // update strands        // update strands
48          for (auto ix = this->_strands.begin_active();          for (auto ix = this->_strands.begin_active();
49              ix != this->_strands.end_active();              ix != this->_strands.end_active();
50              ix = this->_strands.next_active(ix))              )
51          {          {
52              diderot::strand_status sts = this->_strands.strand_update (@UPDATE_ARGS_IN_WRLD@ix);              diderot::strand_status sts = this->_strands.strand_update (@UPDATE_ARGS_IN_WRLD@ix);
53              switch (sts) {              switch (sts) {
54                case diderot::kStabilize:                case diderot::kStabilize:
55                  this->_strands.strand_stabilize(@STABILIZE_ARGS_IN_WRLD@ix);                  ix = this->_strands.strand_stabilize(@STABILIZE_ARGS_IN_WRLD@ix);
56                  break;                  break;
57  #ifdef DIDEROT_HAS_STRAND_DIE  #ifdef DIDEROT_HAS_STRAND_DIE
58                case diderot::kDie:                case diderot::kDie:
59                  this->_strands.kill(ix);                  ix = this->_strands.kill(ix);
60                  break;                  break;
61  #endif  #endif
62                default:                default:
63                    ix = this->_strands.next_active(ix);
64                  break;                  break;
65              }              }
66          }          }

Legend:
Removed from v.4579  
changed lines
  Added in v.4580

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