diff options
Diffstat (limited to 'TAO/tao/Context.cpp')
-rw-r--r-- | TAO/tao/Context.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/TAO/tao/Context.cpp b/TAO/tao/Context.cpp deleted file mode 100644 index 6bbe2795d24..00000000000 --- a/TAO/tao/Context.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// $Id$ - -#include "tao/Context.h" - -#if !defined (__ACE_INLINE__) -# include "tao/Context.i" -#endif /* ! __ACE_INLINE__ */ - -CORBA_Context::CORBA_Context (void) -{ -} - -CORBA_Context::~CORBA_Context (void) -{ -} - -CORBA::ULong -CORBA_Context::_incr_refcnt (void) -{ - ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->refcount_lock_, 0); - return refcount_++; -} - -CORBA::ULong -CORBA_Context::_decr_refcnt (void) -{ - { - ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->refcount_lock_, 0); - this->refcount_--; - if (this->refcount_ != 0) - return this->refcount_; - } - - delete this; - return 0; -} - |