예제 #1
0
 public AsyncEventWorker()
 {
     this.userStateToLifetime = new HybridDictionary();
     this.workerThread = new WorkerThreadDelegate(this.WorkerThreadStart);
     this.components = new Container();
 }
예제 #2
0
 public void AddMultithreadedRoutine(WorkerThreadDelegate func, string desc)
 {
     _workers.Enqueue(new MultithreadedWorker(func, desc));
 }
예제 #3
0
 public MultithreadedWorker(WorkerThreadDelegate func, string desc) : base(desc)
 {
     _function = func;
 }
예제 #4
0
 public AsyncEventWorker()
 {
     this.userStateToLifetime = new HybridDictionary();
     this.workerThread        = new WorkerThreadDelegate(this.WorkerThreadStart);
     this.components          = new Container();
 }