Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_1495_Regression / test_i.cpp
blobad7ed5cb1e1f38a53bbf26f375770dc176628007
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 (void)
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 (void)
32 ACE_DEBUG ((LM_INFO,
33 "Shutting down orb %Q\n",
34 ACE_Thread::self ()));
36 this->_remove_ref ();
38 this->orb_->shutdown (false);