View | Details | Raw Unified | Return to bug 459
Collapse All | Expand All

(-)a/src/simulator/default-simulator-impl.cc (-1 / +1 lines)
 Lines 144-150    Link Here 
144
void
144
void
145
DefaultSimulatorImpl::Run (void)
145
DefaultSimulatorImpl::Run (void)
146
{
146
{
147
147
  m_stop = false;
148
  while (!m_events->IsEmpty () && !m_stop) 
148
  while (!m_events->IsEmpty () && !m_stop) 
149
    {
149
    {
150
      ProcessOneEvent ();
150
      ProcessOneEvent ();
(-)a/src/simulator/realtime-simulator-impl.cc (+1 lines)
 Lines 421-426    Link Here 
421
  NS_ASSERT_MSG (m_running == false, 
421
  NS_ASSERT_MSG (m_running == false, 
422
                 "RealtimeSimulatorImpl::Run(): Simulator already running");
422
                 "RealtimeSimulatorImpl::Run(): Simulator already running");
423
423
424
  m_stop = false;
424
  m_running = true;
425
  m_running = true;
425
  m_synchronizer->SetOrigin (m_currentTs);
426
  m_synchronizer->SetOrigin (m_currentTs);
426
427

Return to bug 459