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

Diff of /branches/vis15/src/compiler/target-cpu/fragments/seq-sarr.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 94  Line 94 
94      }      }
95    
96    // invoke strand's stabilize method    // invoke strand's stabilize method
97      void strand_stabilize (@STABILIZE_PARAMS@index_t ix)      index_t strand_stabilize (@STABILIZE_PARAMS@index_t ix)
98      {      {
99  #ifdef DIDEROT_HAS_STABILIZE_METHOD  #ifdef DIDEROT_HAS_STABILIZE_METHOD
100          @STRAND@_stabilize (@STABILIZE_ARGS@this->strand(ix));          @STRAND@_stabilize (@STABILIZE_ARGS@this->strand(ix));
# Line 102  Line 102 
102          this->_status[ix] = diderot::kStable;          this->_status[ix] = diderot::kStable;
103          this->_nActive--;          this->_nActive--;
104          this->_nStable++;          this->_nStable++;
105            return ix+1;
106      }      }
107    
108    // mark the given strand as dead    // mark the given strand as dead
109      void kill (index_t ix)      index_t kill (index_t ix)
110      {      {
111          this->_status[ix] = diderot::kDead;          this->_status[ix] = diderot::kDead;
112          this->_nActive--;          this->_nActive--;
113            return ix+1;
114      }      }
115    
116    // finish a step (NOP)    // finish a step (NOP)

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