示例#1
0
 /// <summary>
 ///
 /// </summary>
 public SingleThreadPool()
 {
     Thread = new WorkerThread(Start);
 }
示例#2
0
 /// <summary>
 /// Inherited class must initialize the base class with this method.
 /// </summary>
 /// <param name="loopable"></param>
 protected void Initialize(ILoopable loopable)
 {
     _loopable = loopable;
     Thread    = new WorkerThread(Start);
 }