public OperationManager(Dictionary<string, IAgentPlugin> plugins) { _plugins = plugins; LoadPluginHandler(); _queue = new OperationQueue(); _resultsQueue = new OperationResultsQueue(); var queueCheckerThread = new Thread(QueueCheckerLoop); queueCheckerThread.Name = "QueueCheckerLoop"; queueCheckerThread.Start(); var resultsQueueThread = new Thread(ResultsQueueCheckerLoop); resultsQueueThread.Name = "ResultsQueue"; resultsQueueThread.Start(); var operationsQueueThread = new Thread(OperationsQueueCheckerLoop); operationsQueueThread.Name = "OperationsQueue"; operationsQueueThread.Start(); }
public OperationManager(Dictionary <string, IAgentPlugin> plugins) { _plugins = plugins; LoadPluginHandler(); _queue = new OperationQueue(); _resultsQueue = new OperationResultsQueue(); var queueCheckerThread = new Thread(QueueCheckerLoop); queueCheckerThread.Name = "QueueCheckerLoop"; queueCheckerThread.Start(); var resultsQueueThread = new Thread(ResultsQueueCheckerLoop); resultsQueueThread.Name = "ResultsQueue"; resultsQueueThread.Start(); var operationsQueueThread = new Thread(OperationsQueueCheckerLoop); operationsQueueThread.Name = "OperationsQueue"; operationsQueueThread.Start(); }