Пример #1
0
        private static void ConsumerLoop()
        {
            while (!_shutdown)
            {
                string line = CommandLineQueue.Deqeue();
                if (line == null)
                {
                    return;
                }

                OnCommandLineReceived(line);
            }
        }