ldas-tools-al 2.6.7
|
Keep track of threads to be run for a specified time. More...
#include <TimerThread.hh>
Public Types | |
typedef INT_4U | key_t |
Unique key. | |
typedef INT_4U | key_t |
Unique key. |
Public Member Functions | |
TimerThread () | |
~TimerThread () | |
Carefully destroy resources. | |
key_t | AddTimer (int Wakeup, SignalHandler::signal_type Signal) |
Keep track of threads to be run for a specified time.
LDASTools::AL::TimerThread::TimerThread | ( | ) |
This class keeps track of multiple timers. The active timers are stored in an ordered list with the one to be executed next being at the head of the list.
TimerThread::key_t LDASTools::AL::TimerThread::AddTimer | ( | int | Wakeup, |
SignalHandler::signal_type | Signal ) |
Add a timer to the list of timers. The list is maintained in assending order.