src/simulator/default-simulator-impl.cc
changeset 3560 5aa65b1ea001
parent 3515 88e9cee20461
child 3796 75c6a3d424d9
equal deleted inserted replaced
3557:acd6d5b9c40d 3560:5aa65b1ea001
    46   return tid;
    46   return tid;
    47 }
    47 }
    48 
    48 
    49 DefaultSimulatorImpl::DefaultSimulatorImpl ()
    49 DefaultSimulatorImpl::DefaultSimulatorImpl ()
    50 {
    50 {
       
    51   // No multithreaded stuff here, make sure EventImpl instances don't try and
       
    52   // use any stale locking functions.
       
    53   EventImpl::SetNoEventLock ();
       
    54 
    51   m_stop = false;
    55   m_stop = false;
    52   m_stopAt = 0;
    56   m_stopAt = 0;
    53   // uids are allocated from 4.
    57   // uids are allocated from 4.
    54   // uid 0 is "invalid" events
    58   // uid 0 is "invalid" events
    55   // uid 1 is "now" events
    59   // uid 1 is "now" events