cds  2.2.0
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:
cds::urcu::general_threaded<>

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)
 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.
 
- Static Public Attributes inherited from cds::urcu::general_threaded<>
static bool const c_bBuffered
 This RCU buffers disposed elements.
 

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.2.0 Developed by Maxim Khizhinsky aka khizmax 2007 - 2017
Autogenerated Wed Jan 4 2017 08:50:08 by Doxygen 1.8.12