Пример #1
0
 public TaskProcessor(CancellationToken cts)
 {
     _taskQueue         = TaskQueue.GetInstance();
     _thread            = new Thread(Execute);
     _cancellationToken = cts;
 }