Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / CSD_ThreadPool / CSD_TP_Strategy.inl
blob429308b3aecd98f75cbc01b98fd14e100d991dca
1 // -*- C++ -*-
2 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
4 ACE_INLINE
5 TAO::CSD::TP_Strategy::TP_Strategy(Thread_Counter  num_threads,
6                                    bool     serialize_servants)
7   : num_threads_(num_threads),
8     serialize_servants_(serialize_servants)
10   // Assumes that num_threads > 0.
14 ACE_INLINE
15 void
16 TAO::CSD::TP_Strategy::set_num_threads(Thread_Counter num_threads)
18   // Simple Mutator.  Assumes that num_threads > 0.
19   this->num_threads_ = num_threads;
23 ACE_INLINE
24 void
25 TAO::CSD::TP_Strategy::set_servant_serialization(bool serialize_servants)
27   // Simple Mutator.
28   this->serialize_servants_ = serialize_servants;
32 TAO_END_VERSIONED_NAMESPACE_DECL