From 62fdf815a849e717c8955e948c17fa81ec1b9ab4 Mon Sep 17 00:00:00 2001 From: khizmax Date: Mon, 14 Aug 2017 22:40:32 +0300 Subject: [PATCH] doc formatting --- cds/details/defs.h | 1 + cds/gc/dhp.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cds/details/defs.h b/cds/details/defs.h index 6c737efa..e78fc762 100644 --- a/cds/details/defs.h +++ b/cds/details/defs.h @@ -175,6 +175,7 @@ in GCC/clang (for MS VC++ compiler DCAS is not supported): - \p -DCDS_DISABLE_128BIT_ATOMIC - for 64bit build - \p -DCDS_DISABLE_64BIT_ATOMIC - for 32bit build + @warning All your projects AND libcds MUST be compiled with the same flags - either with DCAS support or without it. \par Windows build diff --git a/cds/gc/dhp.h b/cds/gc/dhp.h index 3752a083..1b7c6fbe 100644 --- a/cds/gc/dhp.h +++ b/cds/gc/dhp.h @@ -685,7 +685,7 @@ namespace cds { namespace gc { %DHP is an adaptive variant of classic \p cds::gc::HP, see @ref cds_garbage_collectors_comparison "Compare HP implementation" - @note: Internally, %DHP depends on free-list implementation. There are + @note Internally, %DHP depends on free-list implementation. There are DCAS-based free-list \p cds::intrusive::TaggedFreeList and more complicated CAS-based free-list \p cds::intrusive::FreeList. For x86 architecture and GCC/clang, libcds selects appropriate free-list based on \p -mcx16 compiler flag. You may manually disable DCAS support specifying -- 2.34.1