From 6fdc123c601a3f58942924c639757df366049743 Mon Sep 17 00:00:00 2001 From: schmidt Date: Sat, 3 May 1997 22:44:29 +0000 Subject: *** empty log message *** --- ace/Timer_Queue_T.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'ace/Timer_Queue_T.h') diff --git a/ace/Timer_Queue_T.h b/ace/Timer_Queue_T.h index 8dedf64ea24..f79868e194c 100644 --- a/ace/Timer_Queue_T.h +++ b/ace/Timer_Queue_T.h @@ -65,7 +65,7 @@ class ACE_Timer_Node_T const ACE_Time_Value &t, const ACE_Time_Value &i, ACE_Timer_Node_T *n, - int timer_id); + long timer_id); // Constructor. ACE_Timer_Node_T (const TYPE &type, @@ -74,7 +74,7 @@ class ACE_Timer_Node_T const ACE_Time_Value &i, ACE_Timer_Node_T *p, ACE_Timer_Node_T *n, - int timer_id); + long timer_id); // Constructor for the doubly linked list version. @@ -100,7 +100,7 @@ class ACE_Timer_Node_T ACE_Timer_Node_T *next_; // Pointer to next timer. - int timer_id_; + long timer_id_; // Id of this timer (used to cancel timers before they expire). ACE_ALLOC_HOOK_DECLARE; @@ -166,10 +166,10 @@ public: virtual const ACE_Time_Value &earliest_time (void) const = 0; // 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) = 0; + virtual long schedule (const TYPE &type, + const void *act, + const ACE_Time_Value &delay, + const ACE_Time_Value &interval = ACE_Time_Value::zero) = 0; // Schedule that will expire after amount of time. // If it expires then is passed in as the value to the // . If is != to then it @@ -189,7 +189,7 @@ public: // then the 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) = 0; // Cancel the single timer that matches the value (which -- cgit v1.2.1