summaryrefslogtreecommitdiff
path: root/ACE/examples/Reactor/Proactor/test_proactor3.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2023-01-17 12:32:56 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2023-01-17 12:32:56 +0100
commite5391a0076f5e370f929b111a8a6ed52ee4cb5da (patch)
tree3715a00025199e888341e6db45241666056ff136 /ACE/examples/Reactor/Proactor/test_proactor3.cpp
parent654bdcf1600bc5f2ada5790cb0a6a3418a8cc8d3 (diff)
downloadATCD-e5391a0076f5e370f929b111a8a6ed52ee4cb5da.tar.gz
More Sun OS/compiler cleanup
Diffstat (limited to 'ACE/examples/Reactor/Proactor/test_proactor3.cpp')
-rw-r--r--ACE/examples/Reactor/Proactor/test_proactor3.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/ACE/examples/Reactor/Proactor/test_proactor3.cpp b/ACE/examples/Reactor/Proactor/test_proactor3.cpp
index 369d3699737..68542f46080 100644
--- a/ACE/examples/Reactor/Proactor/test_proactor3.cpp
+++ b/ACE/examples/Reactor/Proactor/test_proactor3.cpp
@@ -44,7 +44,6 @@
#elif defined (ACE_HAS_AIO_CALLS)
#include "ace/POSIX_Proactor.h"
-#include "ace/SUN_Proactor.h"
#endif /* ACE_HAS_WIN32_OVERLAPPED_IO */
@@ -128,12 +127,6 @@ MyTask::create_proactor ()
proactor = new ACE_POSIX_SIG_Proactor;
ACE_DEBUG ((LM_DEBUG,"(%t) Create Proactor Type=SIG\n"));
break;
-# if defined (sun)
- case 3:
- proactor = new ACE_SUN_Proactor (max_aio_operations);
- ACE_DEBUG ((LM_DEBUG,"(%t) Create Proactor Type=SUN\n"));
- break;
-# endif /* sun */
default:
proactor = new ACE_POSIX_SIG_Proactor;
ACE_DEBUG ((LM_DEBUG,"(%t) Create Proactor Type=SIG\n"));
@@ -671,9 +664,6 @@ set_proactor_type (const char *ptype)
case 'D' : proactor_type = 0; return true;
case 'A' : proactor_type = 1; return true;
case 'I' : proactor_type = 2; return true;
-#if defined (sun)
- case 'S' : proactor_type = 3; return true;
-#endif /* sun */
}
return false;
}
@@ -737,9 +727,6 @@ parse_args (int argc, ACE_TCHAR *argv[])
int
ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
-#if defined (sun)
- ACE_DEBUG ((LM_DEBUG, "\nSUN defined!\n"));
-#endif
if (parse_args (argc, argv) == -1)
return -1;