A thread safe Worker thread type that captures SIG* type signals over the various threads.  
 More...
#include <SignalHandler.h>
|  | 
|  | SignalHandler () | 
|  | Create a SignalHandler. 
 | 
| virtual | ~SignalHandler () | 
| virtual void | wake () | 
|  | Wake a sleeping Signalhandler. 
 | 
|  | Worker () | 
|  | Creates thread and attaches it to the manager. 
 | 
| virtual | ~Worker () | 
|  | Removes thread from manager and deletes thread. 
 | 
| virtual void | abort () | 
|  | Set the aborted status for a thread and wakes thread. 
 | 
| virtual void | checkpoint () | 
|  | Checkpoint (currently unimplemented) 
 | 
|  | Thread () | 
|  | Creates a pthread locking mechanism and initializes "Thread". 
 | 
| virtual | ~Thread () | 
|  | Destory the Thread. 
 | 
| virtual void | start () | 
|  | If no thread exists, creates a new thread and begins execution. 
 | 
| virtual void | stop () | 
|  | Joins the thread with the parent waiting if necessary. 
 | 
| virtual pthread_t | getId () | 
|  | Returns the pthread based id for the Thread. 
 | 
| virtual void | setAffinity (int cpuNumber) | 
|  | Binds the thread to a CPU core. 
 | 
A thread safe Worker thread type that captures SIG* type signals over the various threads. 
◆ SignalHandler()
      
        
          | lm::main::SignalHandler::SignalHandler | ( |  | ) |  | 
      
 
 
◆ ~SignalHandler()
  
  | 
        
          | lm::main::SignalHandler::~SignalHandler | ( |  | ) |  |  | virtual | 
 
 
◆ run()
  
  | 
        
          | int lm::main::SignalHandler::run | ( |  | ) |  |  | protectedvirtual | 
 
 
◆ wake()
  
  | 
        
          | void lm::main::SignalHandler::wake | ( |  | ) |  |  | virtual | 
 
 
The documentation for this class was generated from the following files: