Kaydet (Commit) b3d21e40 authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS configrefactor01 (1.7.84); FILE MERGED

2007/01/11 20:15:58 mmeeks 1.7.84.1: Submitted by: mmeeks
More re-factoring, lots of locking rationalized, drastically reduced
the mutex count, also removed ~300k interlocked increments with a non-interlocking
SimpleReferencedObject base
üst 6d4f646f
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: objectregistry.hxx,v $ * $RCSfile: objectregistry.hxx,v $
* *
* $Revision: 1.7 $ * $Revision: 1.8 $
* *
* last change: $Author: rt $ $Date: 2005-09-08 03:16:14 $ * last change: $Author: ihi $ $Date: 2007-11-23 14:07:42 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -74,8 +74,6 @@ namespace configmgr ...@@ -74,8 +74,6 @@ namespace configmgr
ObjectRegistry() {} ObjectRegistry() {}
~ObjectRegistry(); ~ObjectRegistry();
osl::Mutex& mutex() const { return m_aMutex; }
Element findElement(Key const& aNode) const Element findElement(Key const& aNode) const
{ {
ObjectMap::const_iterator aFound = m_aMap.find(aNode); ObjectMap::const_iterator aFound = m_aMap.find(aNode);
...@@ -101,7 +99,6 @@ namespace configmgr ...@@ -101,7 +99,6 @@ namespace configmgr
} }
} }
private: private:
mutable osl::Mutex m_aMutex;
ObjectMap m_aMap; ObjectMap m_aMap;
}; };
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment