Revision 68da4f12 include/csimulation.h

View differences:

include/csimulation.h
126 126

  
127 127
    cStopWatch sequentialWatch;
128 128

  
129
    bool endSimulation;     // used to signal shutdown from threaded context
130

  
129 131
  private:
130 132
    // internal
131 133
    void checkActive()  {if (getActiveSimulation()!=this) throw cRuntimeError(this, eWRONGSIM);}
......
389 391
     * all modules and deleting the messages in the scheduled-event list.
390 392
     */
391 393
    void deleteNetwork();
394

  
395
    /**
396
     * signal shutdown from thread
397
     */
398
    void signalShutdown()  { endSimulation = true; }
392 399
    //@}
393 400

  
394 401
    /** @name Information about the current simulation run. */

Also available in: Unified diff