diff options
author | iliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-12-16 05:26:36 +0000 |
---|---|---|
committer | iliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-12-16 05:26:36 +0000 |
commit | b04fd3b3a3e4195f6bc671d44b91962972642eec (patch) | |
tree | 1fce6c0c049bf05ea83beea347c553b377095bb3 /TAO/tao/Policy_Manager.inl | |
parent | 1cf12da21f93cd359e7fccf25b80692614f14cd5 (diff) | |
download | ATCD-b04fd3b3a3e4195f6bc671d44b91962972642eec.tar.gz |
Branched out ACE
Diffstat (limited to 'TAO/tao/Policy_Manager.inl')
-rw-r--r-- | TAO/tao/Policy_Manager.inl | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/TAO/tao/Policy_Manager.inl b/TAO/tao/Policy_Manager.inl deleted file mode 100644 index a1e1a94d96d..00000000000 --- a/TAO/tao/Policy_Manager.inl +++ /dev/null @@ -1,32 +0,0 @@ -// -*- C++ -*- -// -// $Id$ - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -ACE_INLINE -TAO_Policy_Manager::TAO_Policy_Manager (void) - : impl_ (TAO_POLICY_ORB_SCOPE) -{ -} - -ACE_INLINE CORBA::Policy_ptr -TAO_Policy_Manager::get_policy (CORBA::PolicyType policy) -{ - ACE_GUARD_RETURN (TAO_SYNCH_MUTEX, ace_mon, this->mutex_, 0); - return this->impl_.get_policy (policy); -} - -ACE_INLINE CORBA::Policy_ptr -TAO_Policy_Manager::get_cached_policy (TAO_Cached_Policy_Type type) -{ - // @@ Previous code used a "double-checked locking hack" to check - // if the policy was set before grabbing the lock to actually get - // it, so that could save a lock operation. This was removed, as - // it is not as easy to do this anymore. - ACE_GUARD_RETURN (TAO_SYNCH_MUTEX, ace_mon, this->mutex_, 0); - - return this->impl_.get_cached_policy (type); -} - -TAO_END_VERSIONED_NAMESPACE_DECL |