From e16de8c8c2f4d0a6eb44160dc887fe875c83bb7f Mon Sep 17 00:00:00 2001 From: elliott_c Date: Mon, 17 Jul 2006 14:42:07 +0000 Subject: ChangeLogTag: Mon Jul 17 14:40:43 UTC 2006 Chad Elliott --- TAO/tao/Profile.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'TAO/tao/Profile.h') diff --git a/TAO/tao/Profile.h b/TAO/tao/Profile.h index 5462bd8010d..d9164b8e94c 100644 --- a/TAO/tao/Profile.h +++ b/TAO/tao/Profile.h @@ -24,6 +24,7 @@ #include "tao/GIOP_Message_Version.h" #include "tao/Refcounted_ObjectKey.h" #include "tao/Service_Callbacks.h" +#include "tao/Configurable_Refcount.h" ACE_BEGIN_VERSIONED_NAMESPACE_DECL class ACE_Lock; @@ -375,11 +376,8 @@ private: /// object. TAO_MProfile* forward_to_; - /// Mutex to protect reference count. - ACE_Lock *refcount_lock_; - /// Number of outstanding references to this object. - CORBA::ULong refcount_; + TAO_Configurable_Refcount refcount_; //@@ TAO_PROFILE_SPL_PRIVATE_DATA_ADD_HOOK }; -- cgit v1.2.1