(file) Return to ObjectCache.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Repository

Diff for /pegasus/src/Pegasus/Repository/ObjectCache.h between version 1.5 and 1.6

version 1.5, 2006/01/30 16:18:20 version 1.6, 2006/08/09 21:13:03
Line 39 
Line 39 
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <Pegasus/Common/CIMClass.h> #include <Pegasus/Common/CIMClass.h>
 #include <Pegasus/Common/CIMInstance.h> #include <Pegasus/Common/CIMInstance.h>
 #include <Pegasus/Common/IPC.h>  
 #include <Pegasus/Common/HashTable.h> #include <Pegasus/Common/HashTable.h>
   #include <Pegasus/Common/Mutex.h>
 #include <Pegasus/Repository/Linkage.h> #include <Pegasus/Repository/Linkage.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
Line 135 
Line 135 
     if (_maxEntries == 0)     if (_maxEntries == 0)
         return;         return;
  
     _mutex.lock(pegasus_thread_self());      _mutex.lock();
  
     //// Update object if it is already in cache:     //// Update object if it is already in cache:
  
Line 228 
Line 228 
     if (_maxEntries == 0)     if (_maxEntries == 0)
         return false;         return false;
  
     _mutex.lock(pegasus_thread_self());      _mutex.lock();
  
     //// Search cache for object.     //// Search cache for object.
  
Line 263 
Line 263 
     if (_maxEntries == 0)     if (_maxEntries == 0)
         return false;         return false;
  
     _mutex.lock(pegasus_thread_self());      _mutex.lock();
  
     //// Find and remove the given element.     //// Find and remove the given element.
  


Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2