cds
2.3.2
|
User-space general-purpose RCU with immediate reclamation (stripped version) More...
#include <cds/urcu/general_instant.h>
Additional Inherited Members | |
Public Types inherited from cds::urcu::general_instant<> | |
typedef general_instant_tag | rcu_tag |
RCU tag. | |
typedef std::mutex | lock_type |
Lock type. | |
typedef cds::backoff::Default | back_off |
Back-off schema 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_instant<> | |
virtual void | retire_ptr (retired_ptr &p) override |
Retires 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 () |
Waits to finish a grace period. | |
Static Public Member Functions inherited from cds::urcu::general_instant<> | |
static general_instant * | instance () |
Returns singleton instance. | |
static bool | isUsed () |
Checks if the singleton is created and ready to use. | |
static void | Construct () |
Creates singleton object. | |
static void | Destruct (bool bDetachAll=false) |
Destroys singleton object. | |
User-space general-purpose RCU with immediate reclamation (stripped version)
This short version of general_instant
is intended for stripping debug info. If you use general_instant
with default template arguments you may use this stripped version. All functionality of both classes are identical.