00001 // $Id: ORB_Core_TSS_Resources.cpp 91153 2010-07-21 10:04:02Z vzykov $ 00002 00003 #include "tao/ORB_Core_TSS_Resources.h" 00004 #include "tao/ORB_Core.h" 00005 00006 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00007 00008 TAO_ORB_Core_TSS_Resources::TAO_ORB_Core_TSS_Resources (void) 00009 : event_loop_thread_ (0) 00010 , client_leader_thread_ (0) 00011 , lane_ (0) 00012 , ts_objects_ () 00013 , upcalls_temporarily_suspended_on_this_thread_ (false) 00014 , orb_core_ (0) 00015 { 00016 } 00017 00018 TAO_ORB_Core_TSS_Resources::~TAO_ORB_Core_TSS_Resources (void) 00019 { 00020 this->fini (); 00021 } 00022 00023 void 00024 TAO_ORB_Core_TSS_Resources::fini (void) 00025 { 00026 if (this->orb_core_ != 0) 00027 { 00028 this->orb_core_->tss_cleanup (this->ts_objects_); 00029 } 00030 this->orb_core_ = 0; 00031 } 00032 00033 TAO_END_VERSIONED_NAMESPACE_DECL