/// <summary>Adds event to the front of the queue.</summary> /// <param name="ev">event to add</param> public void AddFront(Object ev) { DualWorkQueue <Object> queue = ThreadQueue; queue.FrontQueue.AddLast(ev); }
/// <summary>Adds event to the end of the event queue.</summary> /// <param name="ev">event to add</param> public void AddBack(Object ev) { DualWorkQueue <Object> queue = ThreadQueue; queue.BackQueue.AddLast(ev); }