diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-01-06 22:40:39 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-01-06 22:40:39 +0000 |
commit | ba2488448b54975d2d00a398daab619acc8d5361 (patch) | |
tree | 45885e95294ca80d930ed4f66b7e96e130d62403 /ace/Timer_Queue.h | |
parent | 70d108545611dbb86049d0109ef4a7ab1ef6289e (diff) | |
download | ATCD-ba2488448b54975d2d00a398daab619acc8d5361.tar.gz |
My Dog
Diffstat (limited to 'ace/Timer_Queue.h')
-rw-r--r-- | ace/Timer_Queue.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/ace/Timer_Queue.h b/ace/Timer_Queue.h index 86f97b43696..ea760dc8a8e 100644 --- a/ace/Timer_Queue.h +++ b/ace/Timer_Queue.h @@ -118,13 +118,17 @@ public: // argument passed in when the <Event_Handler> was registered. This // makes it possible to free up the memory and avoid memory leaks. - virtual int expire (void); - // Expires all pending timers whose values are <= - // ACE_OS::gettimeofday. Also accounts for timer_skew_. - virtual int expire (const ACE_Time_Value ¤t_time); // Run the <handle_timeout> method for all Timers whose values are - // <= <cur_time>. + // <= <cur_time>. This does not account for <timer_skew>. Returns + // the number of <Event_Handler>s for which <handle_timeout> was + // called. + + virtual int expire (void); + // Run the <handle_timeout> method for all Timers whose values are + // <= <ACE_OS::gettimeofday>. Also accounts for <timer_skew>. + // Returns the number of <Event_Handler>s for which <handle_timeout> + // was called. virtual ACE_Time_Value *calculate_timeout (ACE_Time_Value *max); // Determine the next event to timeout. Returns <max> if there are |