diff options
Diffstat (limited to 'ace/Proactor.cpp')
-rw-r--r-- | ace/Proactor.cpp | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/ace/Proactor.cpp b/ace/Proactor.cpp index 44f8b989af4..c2cf0b4b0c1 100644 --- a/ace/Proactor.cpp +++ b/ace/Proactor.cpp @@ -120,26 +120,11 @@ ACE_Proactor_Timer_Handler::svc (void) // Wait for event upto <absolute_time>. int result = 0; - // #if 0 - ACE_DEBUG ((LM_DEBUG, - "%N%l:(%t):Waiting %d sec, %d msec time\n", - absolute_time.sec (), - absolute_time.msec ())); - // #endif if (empty_flag) - { - // #if 0 - ACE_DEBUG ((LM_DEBUG, "%N%l:(%t):Wait for ever\n")); - // #endif - result = this->timer_event_.wait (0); - } + result = this->timer_event_.wait (0); else - { - // #if 0 - ACE_DEBUG ((LM_DEBUG, "%N%l:(%t):wait for time\n")); - // #endif - result = this->timer_event_.wait (&absolute_time); - } + result = this->timer_event_.wait (&absolute_time); + if (result == -1) { switch (errno) |