40#ifndef LM_THREAD_WORKER_MANAGER_H_ 
   41#define LM_THREAD_WORKER_MANAGER_H_ 
   84    pthread_mutex_t mutex;      
 
   85    list<Worker *> workers;     
 
 
void abortWorkers()
Aborts all the worker threads.
Definition WorkerManager.cpp:86
void removeWorker(Worker *worker)
Removes a worker from the manager.
Definition WorkerManager.cpp:77
~WorkerManager()
Destroy the WorkerManager.
Definition WorkerManager.cpp:63
WorkerManager()
Create the WorkerManager.
Definition WorkerManager.cpp:57
void addWorker(Worker *worker)
Adds a worker to the manager.
Definition WorkerManager.cpp:68
static WorkerManager * getInstance()
Get the global worker manager.
Definition WorkerManager.cpp:52
void checkpointWorkers()
Causes all the worker threads to checkpoint (checkpointing is currently unimplemented)
Definition WorkerManager.cpp:107
void stopWorkers()
Stops all the worker threads (e.g. merges them with the master)
Definition WorkerManager.cpp:122
An actual worker Thread that runs a simulation replicate.
Definition Worker.h:51
Definition Capsule.cpp:46