diff options
Diffstat (limited to 'ACE/ace/Timer_Queue_Adapters.cpp')
-rw-r--r-- | ACE/ace/Timer_Queue_Adapters.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/Timer_Queue_Adapters.cpp b/ACE/ace/Timer_Queue_Adapters.cpp index a56bc9a21e5..b2ccf1a2168 100644 --- a/ACE/ace/Timer_Queue_Adapters.cpp +++ b/ACE/ace/Timer_Queue_Adapters.cpp @@ -276,7 +276,7 @@ ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::svc (void) { // The earliest time on the Timer_Queue lies in future; // convert the tv to an absolute time. - ACE_Time_Value const tv = tv_curr + (tv_earl - tv_curr); + ACE_Time_Value const tv = this->timer_queue_->gettimeofday () + (tv_earl - tv_curr); // ACELIB_DEBUG ((LM_DEBUG, ACE_TEXT ("waiting until %u.%3.3u secs\n"), // tv.sec(), tv.msec())); this->condition_.wait (&tv); |