summaryrefslogtreecommitdiff
path: root/examples/Service_Configurator
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-02 23:03:56 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-02 23:03:56 +0000
commitf1c9ff96aa9136f78a078ce17c5dc21807ddb918 (patch)
tree2a25cb8641fdce1066c4e245f557bbe8d36a46d5 /examples/Service_Configurator
parente82ea4edfd3e5bb7ed3263e9b00060f185f09240 (diff)
downloadATCD-f1c9ff96aa9136f78a078ce17c5dc21807ddb918.tar.gz
*** empty log message ***
Diffstat (limited to 'examples/Service_Configurator')
-rw-r--r--examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.i15
1 files changed, 6 insertions, 9 deletions
diff --git a/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.i b/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.i
index b4f2fee0115..5b3cc84e1c3 100644
--- a/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.i
+++ b/examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.i
@@ -84,16 +84,13 @@ Handle_R_Stream::handle_input (int)
char buf[BUFSIZ];
int bytes;
- 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.
- reset_new_handle = ACE_Reactor::instance ()->reset_new_handle ();
-#endif /* ACE_WIN32 */
-
+ // 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.
+ int reset_new_handle = ACE_Reactor::instance ()->uses_event_associations ();
+
if (this->accept (this->new_remote_stream, // stream
0, // remote address
0, // timeout