コード例 #1
0
        /// <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);
        }
コード例 #2
0
        /// <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);
        }