CARMA C++
|
A simple wrapper class that makes use of ::pthread_rwlockattr_t easier in a C++ world. More...
#include <carma/util/PthreadRWLockAttr.h>
Public Member Functions | |
const ::pthread_rwlockattr_t & | InternalPthreadRWLockAttr () const |
Obtain a reference to the internal ::pthread_rwlockattr_t. More... | |
::pthread_rwlockattr_t & | InternalPthreadRWLockAttr () |
Obtain a reference to the internal ::pthread_rwlockattr_t. More... | |
PthreadRWLockAttr () | |
Construct read/write lock attributes with the CARMA defaults. More... | |
virtual | ~PthreadRWLockAttr () |
Destruct read/write lock attributes. More... | |
A simple wrapper class that makes use of ::pthread_rwlockattr_t easier in a C++ world.
Definition at line 14 of file PthreadRWLockAttr.h.
|
explicit |
Construct read/write lock attributes with the CARMA defaults.
Any internal errors will throw an exception.
|
virtual |
Destruct read/write lock attributes.
No exceptions will be thrown and hence internal errors will be ignored as far as clients are concerned (though they may be logged).
const ::pthread_rwlockattr_t & carma::util::PthreadRWLockAttr::InternalPthreadRWLockAttr | ( | ) | const |
Obtain a reference to the internal ::pthread_rwlockattr_t.
Definition at line 73 of file PthreadRWLockAttr.h.
pthread_rwlockattr_t & carma::util::PthreadRWLockAttr::InternalPthreadRWLockAttr | ( | ) |
Obtain a reference to the internal ::pthread_rwlockattr_t.
Definition at line 80 of file PthreadRWLockAttr.h.