コード例 #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)
 {
 }
コード例 #3
0
 private SymbolRecognition(Worker worker1)
     : base(worker1)
 {
 }
コード例 #4
0
 static SymbolRecognition()
 {
     Thread.CurrentThread.Name = "Main ";
     worker = new Worker("SymbolRecognition", 20);
     instance = new SymbolRecognition(worker);
 }