示例#1
0
 public WorkerThread(Worker worker1, string s)
 {
     this.s = s;
     worker = worker1;
     th = new Thread(new ThreadStart(this.run));
     th.IsBackground = true;
     th.Name = s;
 }
示例#2
0
 private FindBestShift(Worker worker1)
     : base(worker1)
 {
 }
 private SymbolRecognition(Worker worker1)
     : base(worker1)
 {
 }
 static SymbolRecognition()
 {
     Thread.CurrentThread.Name = "Main ";
     worker = new Worker("SymbolRecognition", 20);
     instance = new SymbolRecognition(worker);
 }