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