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