diff options
Diffstat (limited to 'ACE/ace/Timer_Queue_T.h')
-rw-r--r-- | ACE/ace/Timer_Queue_T.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ACE/ace/Timer_Queue_T.h b/ACE/ace/Timer_Queue_T.h index c5d2a488329..609093e3450 100644 --- a/ACE/ace/Timer_Queue_T.h +++ b/ACE/ace/Timer_Queue_T.h @@ -126,6 +126,16 @@ public: virtual ACE_Time_Value gettimeofday (void); //@} + /** + * Allows applications to control how the timer queue gets the time + * of day. + * @deprecated Use TIME_POLICY support instead. + * This will only have effect when the TIME_POLICY used + * is ACE_FPointer_Time_Policy. Other standard ACE time + * policies will ignore this. + */ + virtual void gettimeofday (ACE_Time_Value (*gettimeofday)(void)); + /// Implement an inlined, non-abstract version of gettimeofday(), /// through this member function the internals of the class can /// make calls to ACE_OS::gettimeofday() with zero overhead. |