From 2cbe2c0b62b4c813d85d690910eb62b06d187610 Mon Sep 17 00:00:00 2001 From: coryan Date: Tue, 4 Nov 1997 00:38:45 +0000 Subject: ChangeLogTag:Mon Nov 03 18:32:42 1997 Carlos O'Ryan --- ace/Atomic_Op.i | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'ace/Atomic_Op.i') diff --git a/ace/Atomic_Op.i b/ace/Atomic_Op.i index c79047a48b4..e405007406f 100644 --- a/ace/Atomic_Op.i +++ b/ace/Atomic_Op.i @@ -4,7 +4,7 @@ template ACE_INLINE TYPE ACE_Atomic_Op::operator++ (void) { // ACE_TRACE ("ACE_Atomic_Op::operator++"); - ACE_Guard m (this->lock_); + ACE_Guard m (this->mutex_); return ++this->value_; } @@ -12,7 +12,7 @@ template ACE_INLINE TYPE ACE_Atomic_Op::operator+= (const TYPE &i) { // ACE_TRACE ("ACE_Atomic_Op::operator+="); - ACE_Guard m (this->lock_); + ACE_Guard m (this->mutex_); return this->value_ += i; } @@ -20,7 +20,7 @@ template ACE_INLINE TYPE ACE_Atomic_Op::operator-- (void) { // ACE_TRACE ("ACE_Atomic_Op::operator--"); - ACE_Guard m (this->lock_); + ACE_Guard m (this->mutex_); return --this->value_; } @@ -28,7 +28,7 @@ template ACE_INLINE TYPE ACE_Atomic_Op::operator-= (const TYPE &i) { // ACE_TRACE ("ACE_Atomic_Op::operator-="); - ACE_Guard m (this->lock_); + ACE_Guard m (this->mutex_); return this->value_ -= i; } @@ -43,7 +43,7 @@ template ACE_INLINE TYPE ACE_Atomic_Op::operator++ (int) { // ACE_TRACE ("ACE_Atomic_Op::operator++"); - ACE_Guard m (this->lock_); + ACE_Guard m (this->mutex_); return this->value_++; } @@ -51,7 +51,7 @@ template ACE_INLINE TYPE ACE_Atomic_Op::operator-- (int) { // ACE_TRACE ("ACE_Atomic_Op::operator--"); - ACE_Guard m (this->lock_); + ACE_Guard m (this->mutex_); return this->value_--; } @@ -59,7 +59,7 @@ template ACE_INLINE int ACE_Atomic_Op::operator== (const TYPE &i) const { // ACE_TRACE ("ACE_Atomic_Op::operator=="); - ACE_Guard m ((ACE_LOCK &) this->lock_); + ACE_Guard m ((ACE_LOCK &) this->mutex_); return this->value_ == i; } @@ -74,7 +74,7 @@ template ACE_INLINE int ACE_Atomic_Op::operator>= (const TYPE &i) const { // ACE_TRACE ("ACE_Atomic_Op::operator>="); - ACE_Guard m ((ACE_LOCK &) this->lock_); + ACE_Guard m ((ACE_LOCK &) this->mutex_); return this->value_ >= i; } @@ -82,7 +82,7 @@ template ACE_INLINE int ACE_Atomic_Op::operator> (const TYPE &rhs) const { // ACE_TRACE ("ACE_Atomic_Op::operator>"); - ACE_Guard m ((ACE_LOCK &) this->lock_); + ACE_Guard m ((ACE_LOCK &) this->mutex_); return this->value_ > rhs; } @@ -90,7 +90,7 @@ template ACE_INLINE int ACE_Atomic_Op::operator<= (const TYPE &rhs) const { // ACE_TRACE ("ACE_Atomic_Op::operator<="); - ACE_Guard m ((ACE_LOCK &) this->lock_); + ACE_Guard m ((ACE_LOCK &) this->mutex_); return this->value_ <= rhs; } @@ -98,7 +98,7 @@ template ACE_INLINE int ACE_Atomic_Op::operator< (const TYPE &rhs) const { // ACE_TRACE ("ACE_Atomic_Op::operator<"); - ACE_Guard m ((ACE_LOCK &) this->lock_); + ACE_Guard m ((ACE_LOCK &) this->mutex_); return this->value_ < rhs; } @@ -108,7 +108,7 @@ ACE_Atomic_Op::operator= (const ACE_Atomic_Op &r // ACE_TRACE ("ACE_Atomic_Op::operator="); if (&rhs == this) return; // Avoid deadlock... - ACE_Guard m (this->lock_); + ACE_Guard m (this->mutex_); // This will call ACE_Atomic_Op::TYPE(), which will ensure the value // of is acquired atomically. @@ -119,7 +119,7 @@ template ACE_INLINE TYPE ACE_Atomic_Op::value (void) const { // ACE_TRACE ("ACE_Atomic_Op::value"); - ACE_Guard m ((ACE_LOCK &) this->lock_); + ACE_Guard m ((ACE_LOCK &) this->mutex_); return this->value_; } @@ -127,7 +127,7 @@ template ACE_INLINE void ACE_Atomic_Op::operator= (const TYPE &i) { // ACE_TRACE ("ACE_Atomic_Op::operator="); - ACE_Guard m (this->lock_); + ACE_Guard m (this->mutex_); this->value_ = i; } -- cgit v1.2.1