summaryrefslogtreecommitdiff
path: root/ace/Atomic_Op.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-10-18 01:37:46 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-10-18 01:37:46 +0000
commit393702d70c46dfd3d6f74a8ef4dc9887c48e3f8e (patch)
treef72bb3d0ce60aa685ca50d54e6b0714893e5c68f /ace/Atomic_Op.i
parentf5b2a9cc4d78038ecb8add58ec0ad0e8a576214d (diff)
downloadATCD-393702d70c46dfd3d6f74a8ef4dc9887c48e3f8e.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Atomic_Op.i')
-rw-r--r--ace/Atomic_Op.i7
1 files changed, 7 insertions, 0 deletions
diff --git a/ace/Atomic_Op.i b/ace/Atomic_Op.i
index c79047a48b4..7edfc80c881 100644
--- a/ace/Atomic_Op.i
+++ b/ace/Atomic_Op.i
@@ -8,6 +8,13 @@ ACE_Atomic_Op<ACE_LOCK, TYPE>::operator++ (void)
return ++this->value_;
}
+template <class ACE_LOCK, class TYPE> ACE_INLINE ACE_LOCK &
+ACE_Atomic_Op<ACE_LOCK, TYPE>::lock (void)
+{
+// ACE_TRACE ("ACE_Atomic_Op<ACE_LOCK, TYPE>::lock");
+ return this->lock_;
+}
+
template <class ACE_LOCK, class TYPE> ACE_INLINE TYPE
ACE_Atomic_Op<ACE_LOCK, TYPE>::operator+= (const TYPE &i)
{