namespace cds { namespace urcu {
- /// Reclamation thread for \p general_threaded and \p signal_threaded URCU
+ /// Reclamation thread for \p general_threaded URCU
/**
The object of this class contains a reclamation thread object and
necessary synchronization object(s). The object manages reclamation thread
and defines a set of messages (i.e. methods) to communicate with the thread.
- Template argument \p Buffer defines the buffer type of \ref general_threaded (or \ref signal_threaded) URCU.
+ Template argument \p Buffer defines the buffer type of \ref general_threaded URCU.
*/
template <class Buffer>
class dispose_thread
condvar_type m_cvDataReady;
// Task for thread (dispose cycle)
- atomics::atomic<buffer_type *> m_pBuffer{ nullptr };
+ atomics::atomic<buffer_type *> m_pBuffer;
uint64_t m_nCurEpoch = 0;
// Quit flag
}
//@endcond
- public:
+ public: // methods called from any thread
//@cond
dispose_thread()
- //: m_pBuffer( nullptr )
+ : m_pBuffer( nullptr )
{}
//@endcond
- public: // methods called from any thread
/// Start reclamation thread
/**
This function is called by \ref general_threaded object to start