From 4a7a5930e31cc64686bc3b19c4056ca8ef648a3a Mon Sep 17 00:00:00 2001 From: khizmax Date: Mon, 10 Nov 2014 13:05:38 +0300 Subject: [PATCH] removed container_node struct from gc::HP and gc::DHP --- cds/gc/hp_decl.h | 8 -------- cds/gc/ptb_decl.h | 8 -------- cds/intrusive/optimistic_queue.h | 2 +- 3 files changed, 1 insertion(+), 17 deletions(-) diff --git a/cds/gc/hp_decl.h b/cds/gc/hp_decl.h index 800b7c39..46df3a14 100644 --- a/cds/gc/hp_decl.h +++ b/cds/gc/hp_decl.h @@ -82,14 +82,6 @@ namespace cds { namespace gc { ~thread_gc() ; // inline in hp_impl.h }; - /// Base for container node - /** - @headerfile cds/gc/hp.h - This struct is empty for Hazard Pointer GC - */ - struct container_node - {}; - /// Hazard Pointer guard /** @headerfile cds/gc/hp.h diff --git a/cds/gc/ptb_decl.h b/cds/gc/ptb_decl.h index 1c3b8305..34feb395 100644 --- a/cds/gc/ptb_decl.h +++ b/cds/gc/ptb_decl.h @@ -83,14 +83,6 @@ namespace cds { namespace gc { ~thread_gc() ; // inline in ptb_impl.h }; - /// Base for container node - /** - @headerfile cds/gc/ptb.h - This struct is empty for Pass-the-Buck GC - */ - struct container_node - {}; - /// Pass-the-Buck guard /** diff --git a/cds/intrusive/optimistic_queue.h b/cds/intrusive/optimistic_queue.h index 812c2433..f316baa2 100644 --- a/cds/intrusive/optimistic_queue.h +++ b/cds/intrusive/optimistic_queue.h @@ -22,7 +22,7 @@ namespace cds { namespace intrusive { - \p Tag - a \ref cds_intrusive_hook_tag "tag" */ template - struct node: public GC::container_node + struct node { typedef GC gc ; ///< Garbage collector typedef Tag tag ; ///< tag -- 2.34.1