Пример #1
0
 /// <summary>
 /// Add new Thread-worker to ThreadController
 /// </summary>
 /// <param name="worker">ThreadWorker</param>
 public void addWorker(IThreadWorker worker)
 {
     if (worker != null)
     {
         worker.init();
         m_workers.Add(worker);
         m_workCounts++;
     }
 }