Exemplo n.º 1
0
        private void StartNewWorkThread()
        {
            WorkThread workThread = new WorkThread.Builder
            {
                Name = string.Format("ExtendedThreadPool WorkThread: {0}", _workThreads.Count),
                TaskQueueController = _taskQueueController
            }.Build();

            _workThreads.Add(workThread);
            workThread.Start();
        }
 private void StartNewWorkThread()
 {
     WorkThread workThread = new WorkThread.Builder
     {
         Name = string.Format("ExtendedThreadPool WorkThread: {0}", _workThreads.Count),
         TaskQueueController = _taskQueueController
     }.Build();
     _workThreads.Add(workThread);
     workThread.Start();
 }