diff options
Diffstat (limited to 'TAO/tao/Dynamic_TP/DTP_Thread_Pool.inl')
-rw-r--r-- | TAO/tao/Dynamic_TP/DTP_Thread_Pool.inl | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/TAO/tao/Dynamic_TP/DTP_Thread_Pool.inl b/TAO/tao/Dynamic_TP/DTP_Thread_Pool.inl new file mode 100644 index 00000000000..9c28cc41e0e --- /dev/null +++ b/TAO/tao/Dynamic_TP/DTP_Thread_Pool.inl @@ -0,0 +1,43 @@ +// -*- C++ -*- +// +// $Id$ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_INLINE +TAO_DTP_Thread_Pool & +TAO_DTP_Thread_Pool_Threads::pool (void) const +{ + return this->pool_; +} + +ACE_INLINE +TAO_DTP_Thread_Pool_Manager & +TAO_DTP_Thread_Pool::manager (void) const +{ + return this->manager_; +} + +ACE_INLINE +CORBA::ULong +TAO_DTP_Thread_Pool::id (void) const +{ + return this->id_; +} + +ACE_INLINE +bool +TAO_DTP_Thread_Pool::use_timeouts (void) const +{ + return this->definition_.max_threads_ > -1; +} + +ACE_INLINE +const ACE_Time_Value& +TAO_DTP_Thread_Pool::dynamic_thread_time (void) const +{ + return this->definition_.timeout_; +} + + +TAO_END_VERSIONED_NAMESPACE_DECL |