Esempio n. 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="pool"></param>
 /// <returns>true - there are some more input items</returns>
 internal abstract bool ProcessInputQueue(WorkerPool pool);
Esempio n. 2
0
 protected WorkerBase()
 {
     _pool = Object.FindObjectOfType <ThreadPoolHost>().Pool;         //Todo get rid of FindObjectOfType()
     _pool.AddWorker(this);
 }