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

Diff of /branches/vis15/src/compiler/target-cpu/fragments/par-main.in

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

revision 5141, Thu Jul 20 17:07:50 2017 UTC revision 5142, Thu Jul 20 17:41:33 2017 UTC
# Line 130  Line 130 
130                  break;                  break;
131              }              }
132              nSteps += n;              nSteps += n;
133              if ((wrld->_errors->errNum > 0) || (wrld->_strands.num_alive() == 0)) {              if (wrld->_errors->errNum > 0) {
134                    break;
135                }
136                else if (wrld->_strands.num_alive() == 0) {
137                    wrld->error("no alive strands, so no snapshot at step %d", nSteps);
138                  break;                  break;
139              }              }
140            // write a snapshot with the step count as a suffix            // write a snapshot with the step count as a suffix
# Line 190  Line 194 
194      }      }
195    
196    // output the final strand states    // output the final strand states
197        if (wrld->_strands.num_stable() > 0) {
198      write_output (wrld);      write_output (wrld);
199        }
200        else {
201            std::cerr << "Error: no stable strands at termination, so no output\n";
202            delete wrld;
203            return 1;
204        }
205    
206      delete wrld;      delete wrld;
207    

Legend:
Removed from v.5141  
changed lines
  Added in v.5142

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