private void StartThreads()
        {
            var i = 0;

            while (i++ < threadCount)
            {
                var thread = new ProcessorThread(processorFactory.Create());

                threads.Add(thread);

                thread.Start();
            }
        }
Пример #2
0
        private void StartThreads()
        {
            var i = 0;

            while (i++ < threadCount)
            {
                var thread = new ProcessorThread(processorFactory.Create());

                threads.Add(thread);

                thread.Start();
            }
        }