summaryrefslogtreecommitdiff
path: root/ace/Timer_Queue.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-03-14 06:55:12 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-03-14 06:55:12 +0000
commitb9f4b52e69fa852942a1d7102559fdddf0a9f2e2 (patch)
tree0a135b4d504125a10a24c5274de0c63df2559390 /ace/Timer_Queue.h
parent793d527cb0a297a08dd83499ac26736dcec2950d (diff)
downloadATCD-b9f4b52e69fa852942a1d7102559fdddf0a9f2e2.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Timer_Queue.h')
-rw-r--r--ace/Timer_Queue.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/ace/Timer_Queue.h b/ace/Timer_Queue.h
index 5aa61b1ed0f..b5aa653801c 100644
--- a/ace/Timer_Queue.h
+++ b/ace/Timer_Queue.h
@@ -102,17 +102,9 @@ class ACE_Export ACE_Timer_Queue
// Provides an interface to timers.
//
// = DESCRIPTION
- // This implementation uses a linked list of absolute times.
- // Therefore, in the average case, scheduling and canceling
- // <ACE_Event_Handler> timers is O(N) (where N is the total
- // number of timers) and expiring timers is O(K) (where K is
- // the total number of timers that are < the current time of
- // day).
- //
- // More clever implementations could use a delta-list, a heap,
- // or timing wheels, etc. For instance, <ACE_Timer_Heap>
- // is a subclass of <ACE_Timer_Queue> that implements a
- // heap-based callout queue.
+ // This is an abstract base class that provides hook for
+ // implementing specialized policies such as <ACE_Timer_List>
+ // and <ACE_Timer_Heap>.
{
public:
// = Initialization and termination methods.
@@ -145,7 +137,7 @@ public:
// timers. As long as timers don't stay around longer than this
// there should be no problems with accidentally deleting the wrong
// timer. Returns -1 on failure (which is guaranteed never to be a
- // valid <timer_id>.
+ // valid <timer_id>).
virtual int cancel (ACE_Event_Handler *event_handler) = 0;
// Cancel all <event_handlers> that match the address of