Uses different pass count for different parallel queue test cases
[libcds.git] / cds / urcu / dispose_thread.h
index 7353c0a097d5e34fdb4ffe7f050f292c90457de2..a83376ba5fa3eb19601285db0ae6e163becc6412 100644 (file)
 
 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
@@ -82,7 +82,7 @@ namespace cds { namespace urcu {
         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
@@ -144,14 +144,13 @@ namespace cds { namespace urcu {
         }
         //@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