private void Change(Timer timer, int newIndex, bool isAdd) { var entry = TimerChangeEntry.GetInstance(timer, newIndex, isAdd); lock (m_ChangeQueue) m_ChangeQueue.Enqueue(entry); }
public static void Change(Timer t, int newIndex, bool isAdd) { TimerChangeEntry entry = TimerChangeEntry.GetInstance(t, newIndex, isAdd); lock (m_ChangeQueue.SyncRoot) m_ChangeQueue.Enqueue(entry); m_Signal.Set(); }
public static void Change(Timer t, int newIndex, bool isAdd) { lock (m_Changed) { m_Changed[t] = TimerChangeEntry.GetInstance(t, newIndex, isAdd); } m_Signal.Set(); }
public static void Change(Timer t, int newIndex, bool isAdd) { mChangeQueue.Enqueue(TimerChangeEntry.GetInstance(t, newIndex, isAdd)); mSignal.Set(); }
public static void Change(Server.Timer t, int newIndex, bool isAdd) { Server.Timer.TimerThread.m_ChangeQueue.Enqueue(TimerChangeEntry.GetInstance(t, newIndex, isAdd)); }