diff options
author | harrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-02-19 23:25:59 +0000 |
---|---|---|
committer | harrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-02-19 23:25:59 +0000 |
commit | 180512fd85416df0d71221099129fdafa69740d6 (patch) | |
tree | 2310a074fce53fac82638d603e29c645991e40b5 /ace/Timer_Queue.cpp | |
parent | db84063539b4934bf8d8699f6c9f1f75703a8930 (diff) | |
download | ATCD-180512fd85416df0d71221099129fdafa69740d6.tar.gz |
Added Timer_Queue::gettimeofday.
Diffstat (limited to 'ace/Timer_Queue.cpp')
-rw-r--r-- | ace/Timer_Queue.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ace/Timer_Queue.cpp b/ace/Timer_Queue.cpp index a3aa4e7a200..8de4bbd281e 100644 --- a/ace/Timer_Queue.cpp +++ b/ace/Timer_Queue.cpp @@ -72,7 +72,7 @@ ACE_Timer_Queue::calculate_timeout (ACE_Time_Value *max_wait_time) return max_wait_time; else { - ACE_Time_Value cur_time = ACE_OS::gettimeofday (); + ACE_Time_Value cur_time = this->gettimeofday (); if (this->earliest_time () > cur_time) { @@ -174,3 +174,8 @@ ACE_Timer_Queue::expire (const ACE_Time_Value &cur_time) return number_of_timers_expired; } +ACE_Time_Value +ACE_Timer_Queue::gettimeofday (void) +{ + return ACE_OS::gettimeofday (); +} |