From: khizmax Date: Mon, 10 Nov 2014 10:05:38 +0000 (+0300) Subject: removed container_node struct from gc::HP and gc::DHP X-Git-Tag: v2.0.0~120 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=libcds.git;a=commitdiff_plain;h=4a7a5930e31cc64686bc3b19c4056ca8ef648a3a removed container_node struct from gc::HP and gc::DHP --- 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