Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / MT_NoUpcall_Client_Leader / worker.cpp
blob7e06796e775587ad0f79e996acf92cb8c201803f
1 #include "worker.h"
3 Worker::Worker (CORBA::ORB_ptr orb)
4 : orb_ (CORBA::ORB::_duplicate (orb))
8 int
9 Worker::svc ()
11 ACE_DEBUG((LM_INFO,"(%P|%t) Running ORB in a separate thread\n"));
12 try
14 this->orb_->run ();
16 catch (const CORBA::Exception&)
19 return 0;