diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-09-22 22:32:05 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-09-22 22:32:05 +0000 |
commit | c709018485cec7dd6e32484b69da37ad9c339e50 (patch) | |
tree | 7007a034e2da3aca8d6684eb357b1c9a33404816 /ace/Atomic_Op.i | |
parent | 2fe58d5721dada4589506caf97f11c8e0c4c2d8f (diff) | |
download | ATCD-c709018485cec7dd6e32484b69da37ad9c339e50.tar.gz |
ChangeLogTag:Fri Sep 22 15:13:46 2000 Darrell Brunsch <brunsch@uci.edu>
Diffstat (limited to 'ace/Atomic_Op.i')
-rw-r--r-- | ace/Atomic_Op.i | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ace/Atomic_Op.i b/ace/Atomic_Op.i index e14d53fae49..1b5583c2828 100644 --- a/ace/Atomic_Op.i +++ b/ace/Atomic_Op.i @@ -149,22 +149,24 @@ ACE_Atomic_Op<ACE_LOCK, TYPE>::operator= (const TYPE &i) #if defined (ACE_WIN32) +// FUZZ: disable check_for_inline + ACE_TEMPLATE_SPECIALIZATION -ACE_INLINE long +inline long ACE_Atomic_Op<ACE_Thread_Mutex, long>::operator++ (void) { return ::InterlockedIncrement (&this->value_); } ACE_TEMPLATE_SPECIALIZATION -ACE_INLINE long +inline long ACE_Atomic_Op<ACE_Thread_Mutex, long>::operator-- (void) { return ::InterlockedDecrement (&this->value_); } ACE_TEMPLATE_SPECIALIZATION -ACE_INLINE void +inline void ACE_Atomic_Op<ACE_Thread_Mutex, long>::operator= (const long &i) { ::InterlockedExchange (&this->value_, @@ -172,7 +174,7 @@ ACE_Atomic_Op<ACE_Thread_Mutex, long>::operator= (const long &i) } ACE_TEMPLATE_SPECIALIZATION -ACE_INLINE void +inline void ACE_Atomic_Op<ACE_Thread_Mutex, long>::operator= (const ACE_Atomic_Op<ACE_Thread_Mutex, long> &rhs) { ::InterlockedExchange (&this->value_, @@ -182,14 +184,14 @@ ACE_Atomic_Op<ACE_Thread_Mutex, long>::operator= (const ACE_Atomic_Op<ACE_Thread #if defined (ACE_HAS_INTERLOCKED_EXCHANGEADD) ACE_TEMPLATE_SPECIALIZATION -ACE_INLINE long +inline long ACE_Atomic_Op<ACE_Thread_Mutex, long>::operator+= (const long &i) { return ::InterlockedExchangeAdd (&this->value_, i); } ACE_TEMPLATE_SPECIALIZATION -ACE_INLINE long +inline long ACE_Atomic_Op<ACE_Thread_Mutex, long>::operator-= (const long &i) { return ::InterlockedExchangeAdd (&this->value_, -i); |