Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_2709_Regression / TestImpl.cpp
blobf0be3e754a67848db381318b7a09279d810df48b
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 (void)
12 ACE_DEBUG ((LM_ERROR, "(%P): TestImpl::myMethod called!.\n") );
16 // virtual
17 void TestImpl::shutdown (void)
19 // Give the client thread time to return from the collocated
20 // call to this method before shutting down the ORB. We sleep
21 // to avoid BAD_INV_ORDER exceptions on fast dual processor machines.
22 ACE_OS::sleep (1);
23 this->orb_->shutdown ();