diff options
author | mcorino <mcorino@users.noreply.github.com> | 2011-12-14 18:20:31 +0000 |
---|---|---|
committer | mcorino <mcorino@users.noreply.github.com> | 2011-12-14 18:20:31 +0000 |
commit | b553caff218594c6cdaedcf1cec68be725a62f21 (patch) | |
tree | a0655274254064ffa3f2a6835c84a41ece48a076 /ACE/ace/Timer_Queue_T.h | |
parent | 01eb039cbc2232bb44b589635d11952e656902fa (diff) | |
download | ATCD-timer_policy.tar.gz |
merged last timer_policy branch updatestimer_policy
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. |