summaryrefslogtreecommitdiff
path: root/TAO/tao/Object.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-21 19:21:31 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-07-21 19:21:31 +0000
commitbc20ce971235dfa09ed849d92bb51d5928a8be66 (patch)
tree0e1cc2bb3316f4bedfc377ed68c89dc8f3d9afec /TAO/tao/Object.h
parent8f101f03a5f72294c838c3388638a61a789d0c47 (diff)
downloadATCD-bc20ce971235dfa09ed849d92bb51d5928a8be66.tar.gz
ChangeLogTag:Tue Jul 21 14:19:28 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Object.h')
-rw-r--r--TAO/tao/Object.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/TAO/tao/Object.h b/TAO/tao/Object.h
index 0185adbabfd..58ae31182f0 100644
--- a/TAO/tao/Object.h
+++ b/TAO/tao/Object.h
@@ -146,6 +146,10 @@ private:
CORBA::ULong refcount_;
// Number of outstanding references to this object.
+ ACE_SYNCH_MUTEX refcount_lock_;
+ // Protect the reference count, this is OK because we do no
+ // duplicates or releases on the critical path.
+
// = Unimplemented methods
CORBA_Object (const CORBA_Object &);
CORBA_Object &operator = (const CORBA_Object &);