Пример #1
0
        public T Dequeue()
        {
            T t = _synQueue.Dequeue();

            lock (_lockObj)
            {
                _count--;
            }
            return(t);
        }
Пример #2
0
        public T Dequeue()
        {
            T t = _synQueue.Dequeue();

            return(t);
        }