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

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

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

revision 4630, Sat Sep 24 23:59:45 2016 UTC revision 4631, Sun Sep 25 00:15:30 2016 UTC
# Line 1  Line 1 
1  // forward declarations of strand methoda  // forward declarations of strand methods
2  #ifdef DIDEROT_HAS_START_METHOD  #ifdef DIDEROT_HAS_START_METHOD
3  static diderot::strand_status @STRAND@_start (@START_PARAMS@  static diderot::strand_status @STRAND@_start (@START_PARAMS@
4      @STRAND@_local *selfLocal, @STRAND@_shared *selfIn, @STRAND@_shared *selfOut);      @STRAND@_local *selfLocal, @STRAND@_shared *selfIn, @STRAND@_shared *selfOut);
# Line 74  Line 74 
74      {      {
75          return &(this->strand(ix)->_shared[this->_inIdx]);          return &(this->strand(ix)->_shared[this->_inIdx]);
76      }      }
77      // return a pointer to the in-state of the strand with the given ID
78        const @STRAND@_shared *id_to_in_state (sid_t id) const
79        {
80            return &(this->id_to_strand(id)->_shared[this->_inIdx]);
81        }
82    // return a pointer to the out-state of strand ix    // return a pointer to the out-state of strand ix
83      @STRAND@_shared *out_state (index_t ix) const      @STRAND@_shared *out_state (index_t ix) const
84      {      {

Legend:
Removed from v.4630  
changed lines
  Added in v.4631

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