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

Diff for /pegasus/src/Pegasus/Common/ReadWriteSem.cpp between version 1.15 and 1.16

version 1.15, 2008/12/02 09:00:52 version 1.16, 2013/02/18 15:00:21
Line 101 
Line 101 
  
 void ReadWriteSem::unlockRead() void ReadWriteSem::unlockRead()
 { {
     int rc = pthread_rwlock_unlock(&_rwlock.rwlock);  
     // All documented error codes represent coding errors.     // All documented error codes represent coding errors.
     PEGASUS_ASSERT(rc == 0);      PEGASUS_FCT_EXECUTE_AND_ASSERT(0, pthread_rwlock_unlock(&_rwlock.rwlock));
 } }
  
 void ReadWriteSem::unlockWrite() void ReadWriteSem::unlockWrite()
 { {
     int rc = pthread_rwlock_unlock(&_rwlock.rwlock);  
     // All documented error codes represent coding errors.     // All documented error codes represent coding errors.
     PEGASUS_ASSERT(rc == 0);      PEGASUS_FCT_EXECUTE_AND_ASSERT(0, pthread_rwlock_unlock(&_rwlock.rwlock));
 } }
  
 #endif /* PEGASUS_USE_POSIX_RWLOCK */ #endif /* PEGASUS_USE_POSIX_RWLOCK */


Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2