cds
2.3.2
|
User-space general-purpose RCU with deferred (buffered) reclamation (stripped version) More...
#include <cds/urcu/general_buffered.h>
Additional Inherited Members | |
Public Types inherited from cds::urcu::general_buffered<> | |
typedef general_buffered_tag | rcu_tag |
RCU tag. | |
typedef cds::container::VyukovMPMCCycleQueue< epoch_retired_ptr > | buffer_type |
Buffer type. | |
typedef std::mutex | lock_type |
Lock type. | |
typedef cds::backoff::Default | back_off |
Back-off type. | |
typedef base_class::thread_gc | thread_gc |
Thread-side RCU part. | |
typedef thread_gc::scoped_lock | scoped_lock |
Access lock class. | |
Public Member Functions inherited from cds::urcu::general_buffered<> | |
virtual void | retire_ptr (retired_ptr &p) override |
Retire p pointer. More... | |
void | batch_retire (ForwardIterator itFirst, ForwardIterator itLast) |
Retires the pointer chain [itFirst , itLast ) | |
void | batch_retire (Func e) |
Retires the pointer chain until Func returns nullptr retired pointer. | |
void | synchronize () |
Wait to finish a grace period and then clear the buffer. | |
size_t | capacity () const |
Returns internal buffer capacity. | |
Static Public Member Functions inherited from cds::urcu::general_buffered<> | |
static general_buffered * | instance () |
Returns singleton instance. | |
static bool | isUsed () |
Checks if the singleton is created and ready to use. | |
static void | Construct (size_t nBufferCapacity=256) |
Creates singleton object. More... | |
static void | Destruct (bool bDetachAll=false) |
Destroys singleton object. | |
User-space general-purpose RCU with deferred (buffered) reclamation (stripped version)
This short version of general_buffered
is intended for stripping debug info. If you use general_buffered
with default template arguments you may use this stripped version. All functionality of both classes are identical.