summaryrefslogtreecommitdiff
path: root/TAO/examples/CSD_Strategy/ThreadPool5
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-02-23 08:13:54 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-02-23 08:13:54 +0000
commitf7f268dfb9d005db91487e13d93167d262a382c9 (patch)
treef94e0e87430c38e5ad48d4b03b94919bf58dd922 /TAO/examples/CSD_Strategy/ThreadPool5
parent62004ed1d3a9203a57801a10bbf71c47b7b71dd3 (diff)
downloadATCD-f7f268dfb9d005db91487e13d93167d262a382c9.tar.gz
Mon Feb 23 08:08:15 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/examples/CSD_Strategy/ThreadPool5')
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool5/Callback_i.cpp2
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool5/FooServantList.cpp2
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool5/Foo_i.cpp10
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool5/OrbShutdownTask.cpp2
-rw-r--r--TAO/examples/CSD_Strategy/ThreadPool5/ServerApp.cpp18
5 files changed, 17 insertions, 17 deletions
diff --git a/TAO/examples/CSD_Strategy/ThreadPool5/Callback_i.cpp b/TAO/examples/CSD_Strategy/ThreadPool5/Callback_i.cpp
index 9c328747bfc..81301279214 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool5/Callback_i.cpp
+++ b/TAO/examples/CSD_Strategy/ThreadPool5/Callback_i.cpp
@@ -16,7 +16,7 @@ void
Callback_i::test_method (
)
{
- ACE_DEBUG((LM_DEBUG, "(%P|%t)Callback_i::test_method called \n"));
+ ACE_DEBUG((LM_DEBUG, "(%P|%t)Callback_i::test_method called\n"));
}
diff --git a/TAO/examples/CSD_Strategy/ThreadPool5/FooServantList.cpp b/TAO/examples/CSD_Strategy/ThreadPool5/FooServantList.cpp
index 7d38f48fefc..61323f1d1a6 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool5/FooServantList.cpp
+++ b/TAO/examples/CSD_Strategy/ThreadPool5/FooServantList.cpp
@@ -175,7 +175,7 @@ FooServantList::deactivate_servant (void)
{
servants_[i]->active(false);
ACE_DEBUG((LM_DEBUG, "(%P|%t)FooServantList::deactivate_servant "
- "deactivate %dth servant \n", i+1));
+ "deactivate %dth servant\n", i+1));
PortableServer::ObjectId_var id =
poa_->servant_to_id (safe_servants_[i].in ());
diff --git a/TAO/examples/CSD_Strategy/ThreadPool5/Foo_i.cpp b/TAO/examples/CSD_Strategy/ThreadPool5/Foo_i.cpp
index e749ebdab9f..dfcf34799a5 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool5/Foo_i.cpp
+++ b/TAO/examples/CSD_Strategy/ThreadPool5/Foo_i.cpp
@@ -177,11 +177,11 @@ Foo_i::test_var_array_arg (
)
{
ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Foo_i::test_var_array_arg ")
- ACE_TEXT(" %s \n"), messages[0].in ()));
+ ACE_TEXT(" %s\n"), messages[0].in ()));
ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Foo_i::test_var_array_arg ")
- ACE_TEXT(" %s \n"), messages[1].in ()));
+ ACE_TEXT(" %s\n"), messages[1].in ()));
ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Foo_i::test_var_array_arg ")
- ACE_TEXT(" %s \n"), messages[2].in ()));
+ ACE_TEXT(" %s\n"), messages[2].in ()));
}
@@ -191,7 +191,7 @@ Foo_i::test_special_basic_arg (
)
{
ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Foo_i::test_special_basic_arg ")
- ACE_TEXT(" got special basic arg: %d \n"), value));
+ ACE_TEXT(" got special basic arg: %d\n"), value));
}
@@ -202,7 +202,7 @@ Foo_i::test_objref_arg (
{
this->callback_ = Callback::_duplicate (cb);
ACE_DEBUG((LM_DEBUG, ACE_TEXT("(%P|%t)Foo_i::test_objref_arg ")
- ACE_TEXT(" got callback object. \n")));
+ ACE_TEXT(" got callback object.\n")));
}
diff --git a/TAO/examples/CSD_Strategy/ThreadPool5/OrbShutdownTask.cpp b/TAO/examples/CSD_Strategy/ThreadPool5/OrbShutdownTask.cpp
index 9469856960e..8ebf447ccf7 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool5/OrbShutdownTask.cpp
+++ b/TAO/examples/CSD_Strategy/ThreadPool5/OrbShutdownTask.cpp
@@ -54,7 +54,7 @@ int
OrbShutdownTask::svc()
{
ACE_OS::sleep (2);
- ACE_DEBUG ((LM_DEBUG, "(%P|%t)OrbShutdownTask::svc shutdown orb \n"));
+ ACE_DEBUG ((LM_DEBUG, "(%P|%t)OrbShutdownTask::svc shutdown orb\n"));
try
{
this->orb_->shutdown(0);
diff --git a/TAO/examples/CSD_Strategy/ThreadPool5/ServerApp.cpp b/TAO/examples/CSD_Strategy/ThreadPool5/ServerApp.cpp
index 52719eae191..eaec63e6e49 100644
--- a/TAO/examples/CSD_Strategy/ThreadPool5/ServerApp.cpp
+++ b/TAO/examples/CSD_Strategy/ThreadPool5/ServerApp.cpp
@@ -319,21 +319,21 @@ void
ServerApp::usage_statement()
{
ACE_ERROR((LM_ERROR,
- "(%P|%t) usage: %s \n"
- "\t[-p <ior_filename_prefix>] \n"
- "\t[-s <num_servants>] \n"
- "\t[-c <num_clients>] \n"
- "\t[-n <num_csd_threads>] \n"
- "\t[-t <num_orb_threads>] \n"
- "\t[-l <collocation_test>] \n"
- "\t[-d <servant_to_deactivate>] \n"
+ "(%P|%t) usage: %s\n"
+ "\t[-p <ior_filename_prefix>]\n"
+ "\t[-s <num_servants>]\n"
+ "\t[-c <num_clients>]\n"
+ "\t[-n <num_csd_threads>]\n"
+ "\t[-t <num_orb_threads>]\n"
+ "\t[-l <collocation_test>]\n"
+ "\t[-d <servant_to_deactivate>]\n"
"Default ior_filename_prefix is 'foo'.\n"
"Default num_servants is 1.\n"
"Default num_clients is 1.\n"
"Default num_orb_threads is 1.\n"
"Default collocation_test flag is 0.\n"
"Default servant_to_deactivate is -1 means not deactivate servant.\n"
- " 0 means deactivate all servant. \n"
+ " 0 means deactivate all servant.\n"
" >0 means the index (servant_to_deactivate-1) of the servant in the servant list.\n",
this->exe_name_.c_str ()));
}