(file) Return to ResponseHandler.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/ResponseHandler.cpp between version 1.9 and 1.10

version 1.9, 2003/10/22 14:26:04 version 1.10, 2003/12/02 23:16:42
Line 54 
Line 54 
 { {
     ResponseHandlerRep* newRep = new ResponseHandlerRep();     ResponseHandlerRep* newRep = new ResponseHandlerRep();
  
     auto_mutex lock(&repTableMutex);      AutoMutex lock(repTableMutex);
     repTable.insert(object, newRep);     repTable.insert(object, newRep);
     return newRep;     return newRep;
 } }
Line 65 
Line 65 
 { {
     ResponseHandlerRep* newRep = new ResponseHandlerRep(*rep);     ResponseHandlerRep* newRep = new ResponseHandlerRep(*rep);
  
     auto_mutex lock(&repTableMutex);      AutoMutex lock(repTableMutex);
     repTable.insert(object, newRep);     repTable.insert(object, newRep);
     return newRep;     return newRep;
 } }
Line 76 
Line 76 
     ResponseHandlerRep* rep;     ResponseHandlerRep* rep;
     Boolean found;     Boolean found;
  
     auto_mutex lock(&repTableMutex);      AutoMutex lock(repTableMutex);
     found = repTable.lookup(const_cast<ResponseHandler*>(object), rep);     found = repTable.lookup(const_cast<ResponseHandler*>(object), rep);
     PEGASUS_ASSERT(found == true);     PEGASUS_ASSERT(found == true);
     return rep;     return rep;
Line 88 
Line 88 
     ResponseHandlerRep* rep;     ResponseHandlerRep* rep;
     Boolean found;     Boolean found;
  
     auto_mutex lock(&repTableMutex);      AutoMutex lock(repTableMutex);
     found = repTable.lookup(object, rep);     found = repTable.lookup(object, rep);
     PEGASUS_ASSERT(found == true);     PEGASUS_ASSERT(found == true);
     delete rep;     delete rep;


Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2