summaryrefslogtreecommitdiff
path: root/ace/Timer_Hash_T.h
diff options
context:
space:
mode:
authorbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-06-26 15:21:13 +0000
committerbrunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-06-26 15:21:13 +0000
commitca118fa2fb7e795f91782278d09cae96363fdeb3 (patch)
tree6704ac232123fdea228769521a1e65d052f3d87d /ace/Timer_Hash_T.h
parent3887caddabf0be7b9b3c78212a4632f51ecc725b (diff)
downloadATCD-ca118fa2fb7e795f91782278d09cae96363fdeb3.tar.gz
Added expire() to get rid of Sun CC 4.2 warnings.
Diffstat (limited to 'ace/Timer_Hash_T.h')
-rw-r--r--ace/Timer_Hash_T.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ace/Timer_Hash_T.h b/ace/Timer_Hash_T.h
index 1ff2cb28f9b..eb2ff8496d0 100644
--- a/ace/Timer_Hash_T.h
+++ b/ace/Timer_Hash_T.h
@@ -182,6 +182,11 @@ public:
// 0 then the <functor> will be invoked. Returns 1 if cancellation
// succeeded and 0 if the <timer_id> wasn't found.
+ virtual int expire (void);
+ // Run the <functor> for all timers whose values are <=
+ // <ACE_OS::gettimeofday>. Also accounts for <timer_skew>. Returns
+ // the number of timers canceled.
+
virtual int expire (const ACE_Time_Value &current_time);
// Run the <functor> for all timers whose values are <= <cur_time>.
// This does not account for <timer_skew>. Returns the number of