summaryrefslogtreecommitdiff
path: root/examples/Reactor
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-26 17:16:14 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-26 17:16:14 +0000
commit9a20a14363a1b80f4549099327c12aa86233445a (patch)
tree8a93fab1f263fd14d50fa9a46212587bbb99ae7d /examples/Reactor
parentc1edd474e944ee955a048d634686a05f973dec9b (diff)
downloadATCD-9a20a14363a1b80f4549099327c12aa86233445a.tar.gz
*** empty log message ***
Diffstat (limited to 'examples/Reactor')
-rw-r--r--examples/Reactor/WFMO_Reactor/test_talker.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/Reactor/WFMO_Reactor/test_talker.cpp b/examples/Reactor/WFMO_Reactor/test_talker.cpp
index 06bd41d32e7..f8bba275af5 100644
--- a/examples/Reactor/WFMO_Reactor/test_talker.cpp
+++ b/examples/Reactor/WFMO_Reactor/test_talker.cpp
@@ -133,6 +133,7 @@
// ============================================================================
#include "ace/Reactor.h"
+#include "ace/WIN32_Proactor.h"
#include "ace/Proactor.h"
#include "ace/SOCK_Connector.h"
#include "ace/SOCK_Acceptor.h"
@@ -540,7 +541,7 @@ main (int argc, char *argv[])
// Register proactor with Reactor so that we can demultiplex
// "waitable" events and I/O operations from a single thread.
if (ACE_Reactor::instance ()->register_handler
- (ACE_Proactor::instance ()) != 0)
+ (ACE_Proactor::instance ()->implementation ()) != 0)
ACE_ERROR_RETURN ((LM_ERROR, "%p failed to register Proactor.\n",
argv[0]), -1);