Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Bug_1495_Regression / test_i.cpp
bloba40b83d58c17f0bbe1761a055b154c7091e44e68
1 // -*- C++ -*-
2 /**
3 * @file test_i.cpp
4 * @author Will Otte <wotte@dre.vanderbilt.edu>
5 */
7 #include "test_i.h"
8 #include "tid_to_int.h"
9 #include "ace/Thread.h"
12 Bug1495_i::Bug1495_i (CORBA::ORB_ptr orb)
13 : orb_ (CORBA::ORB::_duplicate (orb))
17 Bug1495_i::~Bug1495_i ()
21 void
22 Bug1495_i::get_thread_id (Bug1495_Regression::ThreadId_out thread_id)
24 typedef Bug1495_Regression::ThreadId ThreadId;
26 thread_id = ACE_thread_t_to_integer<ThreadId> (ACE_Thread::self ());
29 void
30 Bug1495_i::shutdown ()
32 ACE_DEBUG ((LM_INFO,
33 "Shutting down orb %Q\n",
34 ACE_Thread::self ()));
36 this->_remove_ref ();
38 this->orb_->shutdown (false);