diff options
author | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-30 03:39:22 +0000 |
---|---|---|
committer | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-09-30 03:39:22 +0000 |
commit | c6489d434dfacc32dbf52d9f696419de36c447f0 (patch) | |
tree | 32b676609e5e3da81978e1a2c29f66f5686e0b88 /ace/Service_Manager.cpp | |
parent | 0438d02358863e13b2854a3f629a96a8f08bf7c0 (diff) | |
download | ATCD-c6489d434dfacc32dbf52d9f696419de36c447f0.tar.gz |
Changed to use reset_new_handle () for querying whether we need to reset newly accepted/connected handles or not.
Diffstat (limited to 'ace/Service_Manager.cpp')
-rw-r--r-- | ace/Service_Manager.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ace/Service_Manager.cpp b/ace/Service_Manager.cpp index 3fdf1b5eb73..cf8654ee294 100644 --- a/ace/Service_Manager.cpp +++ b/ace/Service_Manager.cpp @@ -209,12 +209,11 @@ ACE_Service_Manager::handle_input (ACE_HANDLE) int reset_new_handle = 0; #if defined (ACE_WIN32) // Try to find out if the implementation of the reactor that we are - // using is the WFMO_Reactor. If so we need to reset the event - // association for the newly created handle. This is because the - // newly created handle will inherit the properties of the listen - // handle, including its event associations. - if (dynamic_cast <ACE_WFMO_Reactor *> (ACE_Reactor::instance ()->implementation ())) - reset_new_handle = 1; + // using requires us to reset the event association for the newly + // created handle. This is because the newly created handle will + // inherit the properties of the listen handle, including its event + // associations. + reset_new_handle = ACE_Reactor::instance ()->reset_new_handle (); #endif /* ACE_WIN32 */ if (this->acceptor_.accept (this->client_stream_, // stream |