diff options
Diffstat (limited to 'ace/Recyclable.inl')
-rw-r--r-- | ace/Recyclable.inl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ace/Recyclable.inl b/ace/Recyclable.inl new file mode 100644 index 00000000000..c9a4318b2dc --- /dev/null +++ b/ace/Recyclable.inl @@ -0,0 +1,19 @@ +/* -*- C++ -*- */ +//$Id$ + + + +ACE_INLINE ACE_Recyclable_State +ACE_Recyclable::recycle_state (void) const +{ + return this->recycle_state_; +} + +ACE_INLINE void +ACE_Recyclable::recycle_state (ACE_Recyclable_State new_state) +{ + if (this->recycle_state_ == ACE_RECYCLABLE_CLOSED) + return; + + this->recycle_state_ = new_state; +} |