summaryrefslogtreecommitdiff
path: root/TAO/tao/ValueBase.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ValueBase.i')
-rw-r--r--TAO/tao/ValueBase.i6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/ValueBase.i b/TAO/tao/ValueBase.i
index cb17c79c899..38ce044122b 100644
--- a/TAO/tao/ValueBase.i
+++ b/TAO/tao/ValueBase.i
@@ -39,7 +39,7 @@ CORBA_DefaultValueRefCountBase::CORBA_DefaultValueRefCountBase (void)
ACE_INLINE void
CORBA_DefaultValueRefCountBase::_tao_add_ref (void)
{
- ACE_GUARD (ACE_SYNCH_MUTEX, guard, this->_tao_reference_count_lock_);
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->_tao_reference_count_lock_);
++_tao_reference_count_;
}
@@ -47,7 +47,7 @@ ACE_INLINE void
CORBA_DefaultValueRefCountBase::_tao_remove_ref (void)
{
{
- ACE_GUARD (ACE_SYNCH_MUTEX, guard, this->_tao_reference_count_lock_);
+ ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->_tao_reference_count_lock_);
-- this->_tao_reference_count_;
if (this->_tao_reference_count_ != 0)
return;
@@ -61,7 +61,7 @@ CORBA_DefaultValueRefCountBase::_tao_remove_ref (void)
ACE_INLINE CORBA::ULong
CORBA_DefaultValueRefCountBase::_tao_refcount_value (void)
{
- ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, guard, this->_tao_reference_count_lock_,0);
+ ACE_GUARD_RETURN (TAO_SYNCH_MUTEX, guard, this->_tao_reference_count_lock_,0);
return _tao_reference_count_;
}