diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-05-03 22:44:29 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-05-03 22:44:29 +0000 |
commit | 6fdc123c601a3f58942924c639757df366049743 (patch) | |
tree | f259a828748eac9e886983e3f9d3e44f0a0a8d1c /ace/Timer_Heap_T.h | |
parent | 440ffb3f2559ea0ea76be0f1502f4d094fb7eeab (diff) | |
download | ATCD-6fdc123c601a3f58942924c639757df366049743.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Timer_Heap_T.h')
-rw-r--r-- | ace/Timer_Heap_T.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ace/Timer_Heap_T.h b/ace/Timer_Heap_T.h index 7bf0c9d4f9f..4c7a7a3be1f 100644 --- a/ace/Timer_Heap_T.h +++ b/ace/Timer_Heap_T.h @@ -90,10 +90,10 @@ public: virtual const ACE_Time_Value &earliest_time (void) const; // Returns the time of the earlier node in the Timer_Queue. - virtual int schedule (const TYPE &type, - const void *act, - const ACE_Time_Value &delay, - const ACE_Time_Value &interval = ACE_Time_Value::zero); + virtual long schedule (const TYPE &type, + const void *act, + const ACE_Time_Value &delay, + const ACE_Time_Value &interval = ACE_Time_Value::zero); // Schedule <type> that will expire after <delay> amount of time. // If it expires then <act> is passed in as the value to the // <functor>. If <interval> is != to <ACE_Time_Value::zero> then it @@ -113,7 +113,7 @@ public: // then the <functor> will be invoked. Returns number of timers // cancelled. - virtual int cancel (int timer_id, + virtual int cancel (long timer_id, const void **act = 0, int dont_call_handle_close = 1); // Cancel the single timer that matches the <timer_id> value (which @@ -197,7 +197,7 @@ private: // ordered, almost complete" binary tree, which is stored in an // array. - int *timer_ids_; + long *timer_ids_; // An array of "pointers" that allows each <ACE_Timer_Node> in the // <heap_> to be located in O(1) time. Basically, <timer_id_[i]> // contains the index in the <heap_> array where an <ACE_Timer_Node> @@ -207,7 +207,7 @@ private: // treated as "pointers" for the <freelist_>, whereas positive // values are treated as "pointers" into the <heap_> array. - int timer_ids_freelist_; + long timer_ids_freelist_; // "Pointer" to the first element in the freelist contained within // the <timer_ids_> array, which is organized as a stack. |