summaryrefslogtreecommitdiff
path: root/ACE/ace/WFMO_Reactor.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/WFMO_Reactor.inl')
-rw-r--r--ACE/ace/WFMO_Reactor.inl4
1 files changed, 3 insertions, 1 deletions
diff --git a/ACE/ace/WFMO_Reactor.inl b/ACE/ace/WFMO_Reactor.inl
index 8a97a6526ed..2e302b8c6c2 100644
--- a/ACE/ace/WFMO_Reactor.inl
+++ b/ACE/ace/WFMO_Reactor.inl
@@ -735,7 +735,9 @@ ACE_WFMO_Reactor::suspend_handlers (void)
// First suspend all current handles
bool changes_required = false;
- for (size_t i = 0;
+ // Skip over the notify and wakeup_all_threads handles. These are registered
+ // by ACE_WFMO_Reactor::open(), not by users, and should not be suspended.
+ for (size_t i = 2;
i < this->handler_rep_.max_handlep1_ && !error;
i++)
{