Beispiel #1
0
 public SyncCompositeTaskConsumer(ITaskPool taskPool, SyncCompositeTaskQueue taskQueue)
 {
     this.taskQueue = taskQueue;
     this.taskPool  = taskPool;
 }
Beispiel #2
0
 public CompositeTaskExecutor(ITaskPool taskPool)
 {
     this.taskReporter  = new TaskReporter(taskPool);
     this.syncTaskQueue = new SyncCompositeTaskQueue();
     new SyncCompositeTaskConsumer(taskPool, syncTaskQueue).Start();
 }