Bugzilla – Attachment #346: allow calling Simulator::Run after Simulator::Stop is called. for bug #459
void
DefaultSimulatorImpl::Run (void)
{
m_stop = false;
while (!m_events->IsEmpty () && !m_stop)
ProcessOneEvent ();
NS_ASSERT_MSG (m_running == false,
"RealtimeSimulatorImpl::Run(): Simulator already running");
m_running = true;
m_synchronizer->SetOrigin (m_currentTs);