Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / RTScheduling / Distributable_Thread.cpp
blob87d8ef10926d0c0122a1ed5d8359989209166154
1 #include "tao/RTScheduling/Distributable_Thread.h"
2 #include "tao/ORB_Constants.h"
4 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
6 void
7 TAO_DistributableThread::cancel ()
9 this->state_ = RTScheduling::DistributableThread::CANCELLED;
12 RTScheduling::DistributableThread::DT_State
13 TAO_DistributableThread::state ()
15 return this->state_;
18 RTScheduling::DistributableThread_ptr
19 TAO_DistributableThread_Factory::create_DT ()
21 TAO_DistributableThread* DT = nullptr;
23 ACE_NEW_THROW_EX (DT,
24 TAO_DistributableThread,
25 CORBA::NO_MEMORY (
26 CORBA::SystemException::_tao_minor_code (
27 TAO::VMCID,
28 ENOMEM),
29 CORBA::COMPLETED_NO));
31 return DT;
34 TAO_END_VERSIONED_NAMESPACE_DECL