Public Member Functions
|ACE_Proactor_Timer_Handler (ACE_Proactor &proactor)|
Protected Member Functions
|virtual int||svc (void)|
|Event to wait on. |
|Flag used to indicate when we are shutting down. |
This object has a thread that will wait on the earliest time in a list of timers and an event. When a timer expires, the thread will post a completion event on the port and go back to waiting on the timer queue and event. If the event is signaled, the thread will refresh the time it is currently waiting on (in case the earliest time has changed).
Proactor calls this to shut down the timer handler gracefully. Just calling the destructor alone doesnt do what <destroy> does. <destroy> make sure the thread exits properly.
Run by a daemon thread to handle deferred processing. In other words, this method will do the waiting on the earliest timer and event.
Reimplemented from ACE_Task_Base.
|friend class ACE_Proactor
Proactor has special privileges Access needed to: timer_event_
Flag used to indicate when we are shutting down.
Event to wait on.