private void Start_T3_Timer(uint tid) { System.Diagnostics.Debug.Print("Start_T3_Timer [TID:{0}]", tid); T3Timer timer_t3 = new T3Timer(tid); timer_t3.Interval = m_Parameters.T3_Interval * 1000; timer_t3.Elapsed += new System.Timers.ElapsedEventHandler(T3_Elapsed); timer_t3.Start(); m_T3Hash.Add(tid, timer_t3); }
void T3_Timer_Start(uint tid) { lock (m_Locker) { T3Timer timer_t3 = new T3Timer(tid); timer_t3.Interval = m_Parameters.T3_Interval * 1000; timer_t3.Elapsed += new System.Timers.ElapsedEventHandler(T3_Timer_Elapsed); timer_t3.Start(); m_T3Hash.Add(tid, timer_t3); } }
void T3_Timer_Start(uint tid) { Debug.Print("T3_Timer_Start [TID :=" + tid.ToString() + "]"); lock (m_Locker) { T3Timer timer_t3 = new T3Timer(tid); timer_t3.Interval = m_Parameters.T3_Interval * 1000; timer_t3.Elapsed += new System.Timers.ElapsedEventHandler(T3_Timer_Elapsed); timer_t3.Start(); m_T3Hash.Add(tid, timer_t3); } }