Bitcoin ABC 0.30.7
P2P Digital Currency
|
#include <rwcollection.h>
Public Types | |
using | ReadView = RWCollectionView< const T, std::shared_lock< std::shared_mutex > > |
using | WriteView = RWCollectionView< T, std::unique_lock< std::shared_mutex > > |
Public Member Functions | |
RWCollection () | |
ReadView | getReadView () const |
WriteView | getWriteView () |
Private Attributes | |
T | collection |
std::shared_mutex | rwmutex |
Definition at line 66 of file rwcollection.h.
using RWCollection< T >::ReadView = RWCollectionView<const T, std::shared_lock<std::shared_mutex> > |
Definition at line 74 of file rwcollection.h.
using RWCollection< T >::WriteView = RWCollectionView<T, std::unique_lock<std::shared_mutex> > |
Definition at line 81 of file rwcollection.h.
|
inline |
Definition at line 72 of file rwcollection.h.
|
inline |
|
inline |
|
private |
Definition at line 68 of file rwcollection.h.
|
mutableprivate |
Definition at line 69 of file rwcollection.h.