summaryrefslogtreecommitdiff
path: root/ace/Time_Value.h
diff options
context:
space:
mode:
authorharrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-09 00:59:31 +0000
committerharrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-09 00:59:31 +0000
commited5a0abd4afcc2c401de1b8dc44b2da7ed2bb7e5 (patch)
tree99b6d03faf611d268ccd8b0c054f263e0f8a1de4 /ace/Time_Value.h
parent18e5a41c6ab244817bfcb1a05b56c4c652c8932a (diff)
downloadATCD-ed5a0abd4afcc2c401de1b8dc44b2da7ed2bb7e5.tar.gz
Please let this work.
Diffstat (limited to 'ace/Time_Value.h')
-rw-r--r--ace/Time_Value.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/ace/Time_Value.h b/ace/Time_Value.h
index 823d87d94c5..eba9f0048c0 100644
--- a/ace/Time_Value.h
+++ b/ace/Time_Value.h
@@ -265,10 +265,15 @@ public:
// Call <stop>.
int start (void);
- // Cache the start value.
+ // Cache the current time and enter a start state.
int stop (void);
- // Compute the elapsed time.
+ // Subtract the elapsed time from max_wait_time_ and enter a stopped
+ // state.
+
+ int update (void);
+ // Calls stop and then start. max_wait_time_ is modified by the
+ // call to stop.
private:
ACE_Time_Value *max_wait_time_;