cds  2.3.2
cds::urcu::general_threaded_stripped Class Reference

User-space general-purpose RCU with deferred threaded reclamation (stripped version) More...

#include <cds/urcu/general_threaded.h>

Inheritance diagram for cds::urcu::general_threaded_stripped:

Additional Inherited Members

- Public Types inherited from cds::urcu::general_threaded<>
typedef cds::container::VyukovMPSCCycleQueue< epoch_retired_ptrbuffer_type
 Buffer type.
typedef std::mutex lock_type
 Lock type.
typedef cds::backoff::Default back_off
 Back-off scheme.
typedef dispose_thread< cds::container::VyukovMPSCCycleQueue< epoch_retired_ptr > > disposer_thread
 Disposer thread type.
typedef general_threaded_tag rcu_tag
 Thread-side RCU part.
typedef base_class::thread_gc thread_gc
 Access lock class.
typedef thread_gc::scoped_lock scoped_lock
 Access lock class.
- Public Member Functions inherited from cds::urcu::general_threaded<>
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 and calls disposing thread.
size_t capacity () const
 Returns the threshold of internal buffer.
- Static Public Member Functions inherited from cds::urcu::general_threaded<>
static general_threadedinstance ()
 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 and starts reclamation thread. More...
static void Destruct (bool bDetachAll=false)
 Destroys singleton object and terminates internal reclamation thread.

Detailed Description

User-space general-purpose RCU with deferred threaded reclamation (stripped version)

This short version of general_threaded is intended for stripping debug info. If you use general_threaded with default template arguments you may use this stripped version. All functionality of both classes are identical.

The documentation for this class was generated from the following file:

cds 2.3.2 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Dec 31 2017 12:10:55 by Doxygen 1.8.13