summaryrefslogtreecommitdiff
path: root/ace/Timer_Wheel_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Timer_Wheel_T.h')
-rw-r--r--ace/Timer_Wheel_T.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ace/Timer_Wheel_T.h b/ace/Timer_Wheel_T.h
index 9ebba1a0ff8..fb68dcd1840 100644
--- a/ace/Timer_Wheel_T.h
+++ b/ace/Timer_Wheel_T.h
@@ -99,10 +99,10 @@ public:
virtual const ACE_Time_Value &earliest_time (void) const;
// Returns the time of the earlier node in the <ACE_Timer_Wheel>.
- 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
@@ -122,7 +122,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