Definition at line 88 of file TReentrantRWLock.hxx.
Public Types | |
using | Hint_t = TVirtualRWMutex::Hint_t |
using | local_t = std::thread::id |
using | ReaderColl_t = std::unordered_map< std::thread::id, size_t > |
Public Member Functions | |
Hint_t * | DecrementReadCount (local_t &local) |
template<typename MutexT > | |
Hint_t * | DecrementReadCount (local_t &local, MutexT &mutex) |
void | DecrementWriteCount () |
local_t | GetLocal () const |
size_t & | GetLocalReadersCount (local_t &local) |
Hint_t * | IncrementReadCount (local_t &local) |
template<typename MutexT > | |
Hint_t * | IncrementReadCount (local_t &local, MutexT &mutex) |
bool | IsCurrentWriter (local_t &local) const |
bool | IsNotCurrentWriter (local_t &local) const |
void | ResetIsWriter (local_t &) |
void | ResetReadCount (local_t &local, int newvalue) |
void | SetIsWriter (local_t &local) |
Public Attributes | |
ReaderColl_t | fReadersCount |
! Set of reader thread ids More... | |
size_t | fWriteRecurse |
! Number of re-entry in the lock by the same thread. More... | |
std::thread::id | fWriterThread |
! Holder of the write lock More... | |
#include <ROOT/TReentrantRWLock.hxx>
using ROOT::Internal::RecurseCounts::Hint_t = TVirtualRWMutex::Hint_t |
Definition at line 89 of file TReentrantRWLock.hxx.
Definition at line 96 of file TReentrantRWLock.hxx.
using ROOT::Internal::RecurseCounts::ReaderColl_t = std::unordered_map<std::thread::id, size_t> |
Definition at line 90 of file TReentrantRWLock.hxx.
Definition at line 113 of file TReentrantRWLock.hxx.
|
inline |
Definition at line 120 of file TReentrantRWLock.hxx.
|
inline |
Definition at line 142 of file TReentrantRWLock.hxx.
|
inline |
Definition at line 98 of file TReentrantRWLock.hxx.
|
inline |
Definition at line 146 of file TReentrantRWLock.hxx.
Definition at line 100 of file TReentrantRWLock.hxx.
|
inline |
Definition at line 107 of file TReentrantRWLock.hxx.
Definition at line 130 of file TReentrantRWLock.hxx.
Definition at line 131 of file TReentrantRWLock.hxx.
Definition at line 144 of file TReentrantRWLock.hxx.
Definition at line 126 of file TReentrantRWLock.hxx.
Definition at line 133 of file TReentrantRWLock.hxx.
ReaderColl_t ROOT::Internal::RecurseCounts::fReadersCount |
! Set of reader thread ids
Definition at line 94 of file TReentrantRWLock.hxx.
size_t ROOT::Internal::RecurseCounts::fWriteRecurse |
! Number of re-entry in the lock by the same thread.
Definition at line 91 of file TReentrantRWLock.hxx.
std::thread::id ROOT::Internal::RecurseCounts::fWriterThread |
! Holder of the write lock
Definition at line 93 of file TReentrantRWLock.hxx.