summaryrefslogtreecommitdiff
path: root/ACE/ace/Abstract_Timer_Queue.h
diff options
context:
space:
mode:
authormcorino <mcorino@users.noreply.github.com>2011-12-14 18:20:31 +0000
committermcorino <mcorino@users.noreply.github.com>2011-12-14 18:20:31 +0000
commitb553caff218594c6cdaedcf1cec68be725a62f21 (patch)
treea0655274254064ffa3f2a6835c84a41ece48a076 /ACE/ace/Abstract_Timer_Queue.h
parent01eb039cbc2232bb44b589635d11952e656902fa (diff)
downloadATCD-timer_policy.tar.gz
merged last timer_policy branch updatestimer_policy
Diffstat (limited to 'ACE/ace/Abstract_Timer_Queue.h')
-rw-r--r--ACE/ace/Abstract_Timer_Queue.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ACE/ace/Abstract_Timer_Queue.h b/ACE/ace/Abstract_Timer_Queue.h
index f01817ccc7f..5164ff02972 100644
--- a/ACE/ace/Abstract_Timer_Queue.h
+++ b/ACE/ace/Abstract_Timer_Queue.h
@@ -161,6 +161,13 @@ public:
*/
virtual ACE_Time_Value gettimeofday (void) = 0;
+ /**
+ * Allows applications to control how the timer queue gets the time
+ * of day.
+ * @deprecated Use TIME_POLICY support instead. See Timer_Queue_T.h
+ */
+ virtual void gettimeofday (ACE_Time_Value (*gettimeofday)(void)) = 0;
+
/// Determine the next event to timeout. Returns @a max if there are
/// no pending timers or if all pending timers are longer than max.
/// This method acquires a lock internally since it modifies internal state.