diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-14 07:54:48 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-14 07:54:48 +0000 |
commit | 9ba709b4be7dcd91fbc50fd2c89ac1651de47a80 (patch) | |
tree | 076b24e51c40f262c991f637761dd9376db3921a /ace/Atomic_Op.i | |
parent | 0c2cca4093ce9281a66d83338a712ae2da08aac4 (diff) | |
download | ATCD-9ba709b4be7dcd91fbc50fd2c89ac1651de47a80.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Atomic_Op.i')
-rw-r--r-- | ace/Atomic_Op.i | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/Atomic_Op.i b/ace/Atomic_Op.i index 323de27e2c8..06c6b3f4611 100644 --- a/ace/Atomic_Op.i +++ b/ace/Atomic_Op.i @@ -115,6 +115,14 @@ ACE_Atomic_Op<ACE_LOCK, TYPE>::operator TYPE () const return this->value_; } +template <class ACE_LOCK, class TYPE> ACE_INLINE TYPE +ACE_Atomic_Op<ACE_LOCK, TYPE>::value (void) const +{ +// ACE_TRACE ("ACE_Atomic_Op<ACE_LOCK, TYPE>::value"); + ACE_Guard<ACE_LOCK> m ((ACE_LOCK &) this->lock_); + return this->value_; +} + template <class ACE_LOCK, class TYPE> ACE_INLINE void ACE_Atomic_Op<ACE_LOCK, TYPE>::operator= (const TYPE &i) { |