Ejemplo n.º 1
0
        private void StartThreads()
        {
            var i = 0;

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

                threads.Add(thread);

                thread.Start();
            }
        }
Ejemplo n.º 2
0
        private void StartThreads()
        {
            var i = 0;

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

                threads.Add(thread);

                thread.Start();
            }
        }