示例#1
0
 public void Init()
 {
     MQ          = new MultiQueues(folder, true);
     QueuesCount = MQ.Count;
     TasksMQDone = new bool[QueuesCount];
     for (int i = 0; i < QueuesCount; i++)
     {
         TasksMQDone[i] = false;
     }
 }
 protected override void Init()
 {
     MQ          = new MultiQueues(items, true);
     QueuesCount = MQ.Count;
     TasksMQDone = new bool[QueuesCount];
     for (int i = 0; i < QueuesCount; i++)
     {
         TasksMQDone[i] = false;
     }
     processedFiles = 0;
 }
示例#3
0
 public MultiThreads(MyFolder folder, bool deep = false)
 {
     Queues = new MultiQueues(CORES, folder, deep);
 }
示例#4
0
 public MultiThreads(IEnumerable <Entry> items, bool deep = false)
 {
     Queues = new MultiQueues(CORES, items, deep);
 }
示例#5
0
 public void FillQueues()
 {
     MQ = new MultiQueues(searchFolder, true, true);
 }