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