Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_2709_Regression / TestImpl.cpp
blob66e0c5144a900418b9a3261b9e9b6374c4acd818
1 #include "ace/OS_NS_unistd.h"
2 #include "TestImpl.h"
4 TestImpl::TestImpl (CORBA::ORB_ptr orb)
5 : orb_ (CORBA::ORB::_duplicate (orb))
9 // virtual
10 void TestImpl::myMethod ()
12 ACE_DEBUG ((LM_ERROR, "(%P): TestImpl::myMethod called!.\n"));
15 // virtual
16 void TestImpl::shutdown ()
18 // Give the client thread time to return from the collocated
19 // call to this method before shutting down the ORB. We sleep
20 // to avoid BAD_INV_ORDER exceptions on fast dual processor machines.
21 ACE_OS::sleep (1);
22 this->orb_->shutdown ();