summaryrefslogtreecommitdiff
path: root/examples/Reactor
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-26 16:59:35 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-26 16:59:35 +0000
commit87a72a578b1f31e0ac6d399c85e60224cb83f79d (patch)
treebd10d4473c8b94f0e79b81d2048c0d991a0c9d29 /examples/Reactor
parentd4c7eb161d8c01f1e2d95056fc91ad4922322383 (diff)
downloadATCD-87a72a578b1f31e0ac6d399c85e60224cb83f79d.tar.gz
Fixed to used the new Proactor interface.
Diffstat (limited to 'examples/Reactor')
-rw-r--r--examples/Reactor/WFMO_Reactor/test_talker.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/Reactor/WFMO_Reactor/test_talker.cpp b/examples/Reactor/WFMO_Reactor/test_talker.cpp
index f9a0c2b8a4e..649fc45d48c 100644
--- a/examples/Reactor/WFMO_Reactor/test_talker.cpp
+++ b/examples/Reactor/WFMO_Reactor/test_talker.cpp
@@ -512,7 +512,10 @@ int
main (int argc, char *argv[])
{
// Let the proactor know that it will be used with Reactor
- ACE_Proactor proactor (0, 0, 1);
+ // Create specific proactor
+ ACE_WIN32_Proactor win32_proactor (0, 0, 1);
+ // Get the interface proactor
+ ACE_Proactor proactor (&win32_proactor);
ACE_Proactor::instance (&proactor);
// Open handler for remote peer communications this will run from