summaryrefslogtreecommitdiff
path: root/ace/Proactor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Proactor.cpp')
-rw-r--r--ace/Proactor.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/ace/Proactor.cpp b/ace/Proactor.cpp
index 92ee4a9b5b5..70eca5646d2 100644
--- a/ace/Proactor.cpp
+++ b/ace/Proactor.cpp
@@ -239,9 +239,6 @@ ACE_Proactor::ACE_Proactor (size_t number_of_threads,
// set the timer queue
this->timer_queue (tq);
- // Don;t wait for the timer thread.
- this->thr_mgr_.wait_on_exit (0);
-
// Create the timer handler
ACE_NEW (this->timer_handler_, ACE_Proactor_Timer_Handler (*this));
@@ -551,8 +548,7 @@ ACE_Proactor::handle_events (unsigned long milli_seconds)
{
errno = ::GetLastError ();
- // @@ What's the WIN32 constant for timeout (258)?!?!?!
- if (errno == 258)
+ if (errno == WAIT_TIMEOUT)
{
errno = ETIME;
return 0;