/// <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++; } }
/// <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++; } }