summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2023-02-01 15:44:33 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2023-02-01 15:44:33 +0100
commit6198126ce20cc418252f461621c81d19ee2b36e4 (patch)
tree01823c79fa88799e0c96d18eb0689fa96fa64cd4 /TAO
parent8ab31e3e5bb8c09a9c326a54545f4cb475345a78 (diff)
downloadATCD-6198126ce20cc418252f461621c81d19ee2b36e4.tar.gz
Removed pharlap support
Diffstat (limited to 'TAO')
-rw-r--r--TAO/orbsvcs/tests/HTIOP/AMI/Test_Output.cpp11
-rw-r--r--TAO/orbsvcs/tests/HTIOP/BiDirectional/Test_Output.cpp11
-rw-r--r--TAO/orbsvcs/tests/HTIOP/Hello/Test_Output.cpp11
-rw-r--r--TAO/orbsvcs/tests/HTIOP/test_config.h5
-rw-r--r--TAO/tao/Strategies/advanced_resource.cpp4
5 files changed, 4 insertions, 38 deletions
diff --git a/TAO/orbsvcs/tests/HTIOP/AMI/Test_Output.cpp b/TAO/orbsvcs/tests/HTIOP/AMI/Test_Output.cpp
index 2f3c009efb1..f98ee2e1359 100644
--- a/TAO/orbsvcs/tests/HTIOP/AMI/Test_Output.cpp
+++ b/TAO/orbsvcs/tests/HTIOP/AMI/Test_Output.cpp
@@ -52,7 +52,7 @@ ACE_Test_Output::~ACE_Test_Output ()
ACE_LOG_MSG->clr_flags (ACE_Log_Msg::OSTREAM);
ACE_LOG_MSG->set_flags (ACE_Log_Msg::STDERR);
-#if !defined (ACE_LACKS_IOSTREAM_TOTALLY) && !defined (ACE_HAS_PHARLAP)
+#if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
delete this->output_file_;
#endif /* ! ACE_LACKS_IOSTREAM_TOTALLY */
}
@@ -66,13 +66,6 @@ ACE_Test_Output::output_file ()
int
ACE_Test_Output::set_output (const ACE_TCHAR *filename, int append)
{
-#if defined (ACE_HAS_PHARLAP)
- // For PharLap, just send it all to the host console for now - redirect
- // to a file there for saving/analysis.
- EtsSelectConsole(ETS_CO_HOST);
- ACE_LOG_MSG->msg_ostream (&cout);
-
-#else
ACE_TCHAR temp[MAXPATHLEN];
// Ignore the error value since the directory may already exist.
const ACE_TCHAR *test_dir {};
@@ -139,8 +132,6 @@ ACE_Test_Output::set_output (const ACE_TCHAR *filename, int append)
# endif /* ACE_LACKS_IOSTREAM_TOTALLY */
ACE_LOG_MSG->msg_ostream (this->output_file ());
-#endif /* ACE_HAS_PHARLAP */
-
ACE_LOG_MSG->clr_flags (ACE_Log_Msg::STDERR | ACE_Log_Msg::LOGGER);
ACE_LOG_MSG->set_flags (ACE_Log_Msg::OSTREAM);
diff --git a/TAO/orbsvcs/tests/HTIOP/BiDirectional/Test_Output.cpp b/TAO/orbsvcs/tests/HTIOP/BiDirectional/Test_Output.cpp
index 2f3c009efb1..f98ee2e1359 100644
--- a/TAO/orbsvcs/tests/HTIOP/BiDirectional/Test_Output.cpp
+++ b/TAO/orbsvcs/tests/HTIOP/BiDirectional/Test_Output.cpp
@@ -52,7 +52,7 @@ ACE_Test_Output::~ACE_Test_Output ()
ACE_LOG_MSG->clr_flags (ACE_Log_Msg::OSTREAM);
ACE_LOG_MSG->set_flags (ACE_Log_Msg::STDERR);
-#if !defined (ACE_LACKS_IOSTREAM_TOTALLY) && !defined (ACE_HAS_PHARLAP)
+#if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
delete this->output_file_;
#endif /* ! ACE_LACKS_IOSTREAM_TOTALLY */
}
@@ -66,13 +66,6 @@ ACE_Test_Output::output_file ()
int
ACE_Test_Output::set_output (const ACE_TCHAR *filename, int append)
{
-#if defined (ACE_HAS_PHARLAP)
- // For PharLap, just send it all to the host console for now - redirect
- // to a file there for saving/analysis.
- EtsSelectConsole(ETS_CO_HOST);
- ACE_LOG_MSG->msg_ostream (&cout);
-
-#else
ACE_TCHAR temp[MAXPATHLEN];
// Ignore the error value since the directory may already exist.
const ACE_TCHAR *test_dir {};
@@ -139,8 +132,6 @@ ACE_Test_Output::set_output (const ACE_TCHAR *filename, int append)
# endif /* ACE_LACKS_IOSTREAM_TOTALLY */
ACE_LOG_MSG->msg_ostream (this->output_file ());
-#endif /* ACE_HAS_PHARLAP */
-
ACE_LOG_MSG->clr_flags (ACE_Log_Msg::STDERR | ACE_Log_Msg::LOGGER);
ACE_LOG_MSG->set_flags (ACE_Log_Msg::OSTREAM);
diff --git a/TAO/orbsvcs/tests/HTIOP/Hello/Test_Output.cpp b/TAO/orbsvcs/tests/HTIOP/Hello/Test_Output.cpp
index 2f3c009efb1..f98ee2e1359 100644
--- a/TAO/orbsvcs/tests/HTIOP/Hello/Test_Output.cpp
+++ b/TAO/orbsvcs/tests/HTIOP/Hello/Test_Output.cpp
@@ -52,7 +52,7 @@ ACE_Test_Output::~ACE_Test_Output ()
ACE_LOG_MSG->clr_flags (ACE_Log_Msg::OSTREAM);
ACE_LOG_MSG->set_flags (ACE_Log_Msg::STDERR);
-#if !defined (ACE_LACKS_IOSTREAM_TOTALLY) && !defined (ACE_HAS_PHARLAP)
+#if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
delete this->output_file_;
#endif /* ! ACE_LACKS_IOSTREAM_TOTALLY */
}
@@ -66,13 +66,6 @@ ACE_Test_Output::output_file ()
int
ACE_Test_Output::set_output (const ACE_TCHAR *filename, int append)
{
-#if defined (ACE_HAS_PHARLAP)
- // For PharLap, just send it all to the host console for now - redirect
- // to a file there for saving/analysis.
- EtsSelectConsole(ETS_CO_HOST);
- ACE_LOG_MSG->msg_ostream (&cout);
-
-#else
ACE_TCHAR temp[MAXPATHLEN];
// Ignore the error value since the directory may already exist.
const ACE_TCHAR *test_dir {};
@@ -139,8 +132,6 @@ ACE_Test_Output::set_output (const ACE_TCHAR *filename, int append)
# endif /* ACE_LACKS_IOSTREAM_TOTALLY */
ACE_LOG_MSG->msg_ostream (this->output_file ());
-#endif /* ACE_HAS_PHARLAP */
-
ACE_LOG_MSG->clr_flags (ACE_Log_Msg::STDERR | ACE_Log_Msg::LOGGER);
ACE_LOG_MSG->set_flags (ACE_Log_Msg::OSTREAM);
diff --git a/TAO/orbsvcs/tests/HTIOP/test_config.h b/TAO/orbsvcs/tests/HTIOP/test_config.h
index e08ad3c0a52..6c3b35dfd09 100644
--- a/TAO/orbsvcs/tests/HTIOP/test_config.h
+++ b/TAO/orbsvcs/tests/HTIOP/test_config.h
@@ -51,12 +51,7 @@
#define ACE_LOG_FILE_EXT_NAME ACE_TEXT (".log")
-#if defined (ACE_HAS_PHARLAP)
-size_t const ACE_MAX_CLIENTS = 4;
-#else
size_t const ACE_MAX_CLIENTS = 30;
-#endif /* ACE_HAS_PHARLAP */
-
size_t const ACE_NS_MAX_ENTRIES = 1000;
size_t const ACE_DEFAULT_USECS = 1000;
size_t const ACE_MAX_TIMERS = 4;
diff --git a/TAO/tao/Strategies/advanced_resource.cpp b/TAO/tao/Strategies/advanced_resource.cpp
index 7a4f1bca094..ba09fe8cc93 100644
--- a/TAO/tao/Strategies/advanced_resource.cpp
+++ b/TAO/tao/Strategies/advanced_resource.cpp
@@ -452,9 +452,7 @@ TAO_Advanced_Resource_Factory::allocate_reactor_impl () const
#endif /* ACE_WIN32 */
break;
-#if defined(ACE_WIN32) \
- && !defined (ACE_LACKS_MSG_WFMO) \
- && !defined (ACE_HAS_PHARLAP)
+#if defined(ACE_WIN32) && !defined (ACE_LACKS_MSG_WFMO)
case TAO_REACTOR_MSGWFMO:
ACE_NEW_RETURN (impl, ACE_Msg_WFMO_Reactor (0, tmq.get ()), 0);
break;