summaryrefslogtreecommitdiff
path: root/TAO/examples
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-03-17 10:41:37 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-03-17 10:41:37 +0100
commit78045a2ee2bee3a4521af3606d671f644e409fc2 (patch)
tree2ccc4ee7c17b862b9f17c7a93c234e66ca1aadf9 /TAO/examples
parentfe0a8e3c6c8bf1d10a71d1eee6a956c3560bd562 (diff)
downloadATCD-78045a2ee2bee3a4521af3606d671f644e409fc2.tar.gz
bool changes
Diffstat (limited to 'TAO/examples')
-rw-r--r--TAO/examples/AMI/FL_Callback/Peer_i.cpp2
-rw-r--r--TAO/examples/Borland/ORBThread.cpp2
-rw-r--r--TAO/examples/Borland/ReceiverImpl.cpp2
-rw-r--r--TAO/examples/Buffered_AMI/client.cpp2
-rw-r--r--TAO/examples/Buffered_AMI/server.cpp2
-rw-r--r--TAO/examples/Buffered_AMI/test_i.cpp2
-rw-r--r--TAO/examples/Buffered_Oneways/server.cpp2
-rw-r--r--TAO/examples/Buffered_Oneways/test_i.cpp2
-rw-r--r--TAO/examples/Content_Server/AMI_Iterator/client.cpp2
-rw-r--r--TAO/examples/Content_Server/AMI_Observer/client.cpp2
-rw-r--r--TAO/examples/Content_Server/SMI_Iterator/client.cpp2
-rw-r--r--TAO/examples/Kokyu_dsrt_schedulers/fp_example/test_i.cpp2
-rw-r--r--TAO/examples/Kokyu_dsrt_schedulers/mif_example/test_i.cpp2
-rw-r--r--TAO/examples/Kokyu_dsrt_schedulers/muf_example/test_i.cpp2
-rw-r--r--TAO/examples/PluggableUDP/tests/Performance/UDP_PerformanceClient.cpp2
-rw-r--r--TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp2
-rw-r--r--TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp2
-rw-r--r--TAO/examples/RTCORBA/Activity/Activity.cpp2
-rw-r--r--TAO/examples/Simulator/Event_Supplier/Event_Con.cpp2
-rw-r--r--TAO/examples/mfc/server.cpp2
20 files changed, 20 insertions, 20 deletions
diff --git a/TAO/examples/AMI/FL_Callback/Peer_i.cpp b/TAO/examples/AMI/FL_Callback/Peer_i.cpp
index e6138231d81..738ca29e114 100644
--- a/TAO/examples/AMI/FL_Callback/Peer_i.cpp
+++ b/TAO/examples/AMI/FL_Callback/Peer_i.cpp
@@ -93,7 +93,7 @@ Peer_i::start (const PeerSet &the_peers,
void
Peer_i::shutdown (void)
{
- this->orb_->shutdown (0);
+ this->orb_->shutdown (false);
}
// ****************************************************************
diff --git a/TAO/examples/Borland/ORBThread.cpp b/TAO/examples/Borland/ORBThread.cpp
index 4a0ae7da59e..0abef8cdf12 100644
--- a/TAO/examples/Borland/ORBThread.cpp
+++ b/TAO/examples/Borland/ORBThread.cpp
@@ -28,7 +28,7 @@ __fastcall TORBThread::~TORBThread ()
{
try
{
- orb_->shutdown (0);
+ orb_->shutdown (false);
}
catch (const CORBA::Exception&)
{
diff --git a/TAO/examples/Borland/ReceiverImpl.cpp b/TAO/examples/Borland/ReceiverImpl.cpp
index 0814ed2eda3..08c4d382eba 100644
--- a/TAO/examples/Borland/ReceiverImpl.cpp
+++ b/TAO/examples/Borland/ReceiverImpl.cpp
@@ -24,7 +24,7 @@ void TReceiverImplementation::message (const char* msg)
void TReceiverImplementation::shutdown ()
{
// Instruct the ORB to shutdown.
- orb_->shutdown (0);
+ orb_->shutdown (false);
}
//---------------------------------------------------------------------------
void TReceiverImplementation::orb (CORBA::ORB_ptr o)
diff --git a/TAO/examples/Buffered_AMI/client.cpp b/TAO/examples/Buffered_AMI/client.cpp
index a0bcf15bbe1..b002be26a23 100644
--- a/TAO/examples/Buffered_AMI/client.cpp
+++ b/TAO/examples/Buffered_AMI/client.cpp
@@ -310,7 +310,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
test_object->shutdown ();
}
- root_poa->destroy (1, 1);
+ root_poa->destroy (true, true);
// Destroy the ORB. On some platforms, e.g., Win32, the socket
// library is closed at the end of main(). This means that any
diff --git a/TAO/examples/Buffered_AMI/server.cpp b/TAO/examples/Buffered_AMI/server.cpp
index 1f4f6cc1812..6caa12973d9 100644
--- a/TAO/examples/Buffered_AMI/server.cpp
+++ b/TAO/examples/Buffered_AMI/server.cpp
@@ -75,7 +75,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
ACE_DEBUG ((LM_DEBUG, "event loop finished\n"));
- root_poa->destroy (1, 1);
+ root_poa->destroy (true, true);
}
catch (const CORBA::Exception& ex)
{
diff --git a/TAO/examples/Buffered_AMI/test_i.cpp b/TAO/examples/Buffered_AMI/test_i.cpp
index a01d94181e4..3ec9498c709 100644
--- a/TAO/examples/Buffered_AMI/test_i.cpp
+++ b/TAO/examples/Buffered_AMI/test_i.cpp
@@ -19,5 +19,5 @@ test_i::method (CORBA::ULong request_number,
void
test_i::shutdown (void)
{
- this->orb_->shutdown (0);
+ this->orb_->shutdown (false);
}
diff --git a/TAO/examples/Buffered_Oneways/server.cpp b/TAO/examples/Buffered_Oneways/server.cpp
index eb7d89b8bf6..0956a0c58c1 100644
--- a/TAO/examples/Buffered_Oneways/server.cpp
+++ b/TAO/examples/Buffered_Oneways/server.cpp
@@ -77,7 +77,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
ACE_DEBUG ((LM_DEBUG, "event loop finished\n"));
- root_poa->destroy (1, 1);
+ root_poa->destroy (true, true);
}
catch (const CORBA::Exception& ex)
{
diff --git a/TAO/examples/Buffered_Oneways/test_i.cpp b/TAO/examples/Buffered_Oneways/test_i.cpp
index 9910ee0e5f0..a35f50caa4d 100644
--- a/TAO/examples/Buffered_Oneways/test_i.cpp
+++ b/TAO/examples/Buffered_Oneways/test_i.cpp
@@ -18,5 +18,5 @@ test_i::method (CORBA::ULong request_number)
void
test_i::shutdown (void)
{
- this->orb_->shutdown (0);
+ this->orb_->shutdown (false);
}
diff --git a/TAO/examples/Content_Server/AMI_Iterator/client.cpp b/TAO/examples/Content_Server/AMI_Iterator/client.cpp
index b28938ec142..8ab5c5057c7 100644
--- a/TAO/examples/Content_Server/AMI_Iterator/client.cpp
+++ b/TAO/examples/Content_Server/AMI_Iterator/client.cpp
@@ -82,7 +82,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
ACE_OS::sleep (tv);
}
- orb->shutdown (0);
+ orb->shutdown (false);
orb->destroy ();
}
diff --git a/TAO/examples/Content_Server/AMI_Observer/client.cpp b/TAO/examples/Content_Server/AMI_Observer/client.cpp
index 0d9e236c511..8282ab8be15 100644
--- a/TAO/examples/Content_Server/AMI_Observer/client.cpp
+++ b/TAO/examples/Content_Server/AMI_Observer/client.cpp
@@ -87,7 +87,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
ACE_OS::sleep (tv);
}
- orb->shutdown (0);
+ orb->shutdown (false);
//orb->destroy ();
}
diff --git a/TAO/examples/Content_Server/SMI_Iterator/client.cpp b/TAO/examples/Content_Server/SMI_Iterator/client.cpp
index 41e1d89b3ce..374a61d600a 100644
--- a/TAO/examples/Content_Server/SMI_Iterator/client.cpp
+++ b/TAO/examples/Content_Server/SMI_Iterator/client.cpp
@@ -97,7 +97,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
// Done with the Content_Iterator, so destroy it.
contents->destroy ();
- orb->shutdown (0);
+ orb->shutdown (false);
// orb->destroy ();
}
diff --git a/TAO/examples/Kokyu_dsrt_schedulers/fp_example/test_i.cpp b/TAO/examples/Kokyu_dsrt_schedulers/fp_example/test_i.cpp
index 82730645a95..b018b6d3ff6 100644
--- a/TAO/examples/Kokyu_dsrt_schedulers/fp_example/test_i.cpp
+++ b/TAO/examples/Kokyu_dsrt_schedulers/fp_example/test_i.cpp
@@ -118,5 +118,5 @@ void
Simple_Server_i::shutdown (void)
{
ACE_DEBUG ((LM_DEBUG, "shutdown request from client\n"));
- this->orb_->shutdown (0);
+ this->orb_->shutdown (false);
}
diff --git a/TAO/examples/Kokyu_dsrt_schedulers/mif_example/test_i.cpp b/TAO/examples/Kokyu_dsrt_schedulers/mif_example/test_i.cpp
index ebe9a514d1b..a40ae883ebf 100644
--- a/TAO/examples/Kokyu_dsrt_schedulers/mif_example/test_i.cpp
+++ b/TAO/examples/Kokyu_dsrt_schedulers/mif_example/test_i.cpp
@@ -118,5 +118,5 @@ void
Simple_Server_i::shutdown (void)
{
ACE_DEBUG ((LM_DEBUG, "shutdown request from client\n"));
- this->orb_->shutdown (0);
+ this->orb_->shutdown (false);
}
diff --git a/TAO/examples/Kokyu_dsrt_schedulers/muf_example/test_i.cpp b/TAO/examples/Kokyu_dsrt_schedulers/muf_example/test_i.cpp
index ebe9a514d1b..a40ae883ebf 100644
--- a/TAO/examples/Kokyu_dsrt_schedulers/muf_example/test_i.cpp
+++ b/TAO/examples/Kokyu_dsrt_schedulers/muf_example/test_i.cpp
@@ -118,5 +118,5 @@ void
Simple_Server_i::shutdown (void)
{
ACE_DEBUG ((LM_DEBUG, "shutdown request from client\n"));
- this->orb_->shutdown (0);
+ this->orb_->shutdown (false);
}
diff --git a/TAO/examples/PluggableUDP/tests/Performance/UDP_PerformanceClient.cpp b/TAO/examples/PluggableUDP/tests/Performance/UDP_PerformanceClient.cpp
index f453fbbb379..b0f4c261305 100644
--- a/TAO/examples/PluggableUDP/tests/Performance/UDP_PerformanceClient.cpp
+++ b/TAO/examples/PluggableUDP/tests/Performance/UDP_PerformanceClient.cpp
@@ -152,7 +152,7 @@ UDP_PerformanceClient::svc ()
// Shut down local ORB, trigger the end of the ORB event loop
// in the main thread.
- orb_->shutdown (0);
+ orb_->shutdown (false);
}
catch (const CORBA::Exception& ex)
{
diff --git a/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp b/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp
index 9b5d7de3b6c..18a7e506b5d 100644
--- a/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp
+++ b/TAO/examples/PluggableUDP/tests/Performance/UDP_i.cpp
@@ -114,7 +114,7 @@ UDP_i::shutdown (void)
try
{
// Instruct the ORB to shutdown.
- this->orb_->shutdown (0);
+ this->orb_->shutdown (false);
}
catch (const CORBA::Exception& ex)
{
diff --git a/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp b/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp
index 2986f5ce526..a9c9d47744e 100644
--- a/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp
+++ b/TAO/examples/PluggableUDP/tests/SimplePerformance/test_i.cpp
@@ -36,7 +36,7 @@ Simple_Server_i::shutdown (void)
"Simple_Server_i::shutdown\n"));
try
{
- this->orb_->shutdown (0);
+ this->orb_->shutdown (false);
}
catch (const CORBA::Exception& ex)
{
diff --git a/TAO/examples/RTCORBA/Activity/Activity.cpp b/TAO/examples/RTCORBA/Activity/Activity.cpp
index 89ff0aa17e5..70f2dbdd2f5 100644
--- a/TAO/examples/RTCORBA/Activity/Activity.cpp
+++ b/TAO/examples/RTCORBA/Activity/Activity.cpp
@@ -290,7 +290,7 @@ Activity::check_ifexit (void)
}
// shutdown the ORB
- orb_->shutdown (0);
+ orb_->shutdown (false);
}
}
diff --git a/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp b/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp
index e4b152568c0..8b3f456d39c 100644
--- a/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp
+++ b/TAO/examples/Simulator/Event_Supplier/Event_Con.cpp
@@ -331,7 +331,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
delete demo_consumer;
- root_poa->destroy (1, 1);
+ root_poa->destroy (true, true);
}
catch (const CORBA::Exception& ex)
diff --git a/TAO/examples/mfc/server.cpp b/TAO/examples/mfc/server.cpp
index 235478c21ba..20b6e8fe2f5 100644
--- a/TAO/examples/mfc/server.cpp
+++ b/TAO/examples/mfc/server.cpp
@@ -108,7 +108,7 @@ CServerApp::~CServerApp()
argv,
orb_name);
- the_shutdown_orb->shutdown (0);
+ the_shutdown_orb->shutdown (false);
ACE_Thread_Manager::instance ()->wait ();
}