A singleton manager that creates and manages workers that run on a processing node.  
 More...
#include <WorkerManager.h>
A singleton manager that creates and manages workers that run on a processing node. 
◆ WorkerManager()
      
        
          | lm::thread::WorkerManager::WorkerManager | ( |  | ) |  | 
      
 
 
◆ ~WorkerManager()
      
        
          | lm::thread::WorkerManager::~WorkerManager | ( |  | ) |  | 
      
 
 
◆ abortWorkers()
      
        
          | void lm::thread::WorkerManager::abortWorkers | ( |  | ) |  | 
      
 
Aborts all the worker threads. 
 
 
◆ addWorker()
      
        
          | void lm::thread::WorkerManager::addWorker | ( | Worker * | worker | ) |  | 
      
 
Adds a worker to the manager. 
- Parameters
- 
  
  
 
 
◆ checkpointWorkers()
      
        
          | void lm::thread::WorkerManager::checkpointWorkers | ( |  | ) |  | 
      
 
Causes all the worker threads to checkpoint (checkpointing is currently unimplemented) 
 
 
◆ getInstance()
Get the global worker manager. 
- Returns
- globalWorkerManager Global thread manager instance handle 
 
 
◆ removeWorker()
      
        
          | void lm::thread::WorkerManager::removeWorker | ( | Worker * | worker | ) |  | 
      
 
Removes a worker from the manager. 
- Parameters
- 
  
    | worker | Worker handle for which to remove |  
 
 
 
◆ stopWorkers()
      
        
          | void lm::thread::WorkerManager::stopWorkers | ( |  | ) |  | 
      
 
Stops all the worker threads (e.g. merges them with the master) 
 
 
The documentation for this class was generated from the following files: