From f0640d41ca56303a1dcb99ae6c11e51f05ef9898 Mon Sep 17 00:00:00 2001 From: khizmax Date: Sat, 27 Sep 2014 22:52:17 +0400 Subject: [PATCH] Rename cds/container/lazy_list_impl.h to cds/container/impl/lazy_list.h --- .../{lazy_list_impl.h => impl/lazy_list.h} | 15 ++++++++++----- cds/container/lazy_list_hp.h | 2 +- cds/container/lazy_list_hrc.h | 2 +- cds/container/lazy_list_ptb.h | 2 +- projects/Win/vc12/cds.vcxproj | 2 +- projects/Win/vc12/cds.vcxproj.filters | 6 +++--- 6 files changed, 17 insertions(+), 12 deletions(-) rename cds/container/{lazy_list_impl.h => impl/lazy_list.h} (98%) diff --git a/cds/container/lazy_list_impl.h b/cds/container/impl/lazy_list.h similarity index 98% rename from cds/container/lazy_list_impl.h rename to cds/container/impl/lazy_list.h index 0b0b67cf..237f64b7 100644 --- a/cds/container/lazy_list_impl.h +++ b/cds/container/impl/lazy_list.h @@ -1,7 +1,7 @@ //$$CDS-header$$ -#ifndef __CDS_CONTAINER_LAZY_LIST_IMPL_H -#define __CDS_CONTAINER_LAZY_LIST_IMPL_H +#ifndef __CDS_CONTAINER_IMPL_LAZY_LIST_H +#define __CDS_CONTAINER_IMPL_LAZY_LIST_H #include #include @@ -24,7 +24,7 @@ namespace cds { namespace container { reference. It also has a novel wait-free membership \p find operation that does not need to perform cleanup operations and is more efficient. - It is non-intrusive version of cds::intrusive::LazyList class + It is non-intrusive version of cds::intrusive::LazyList class. Template arguments: - \p GC - garbage collector used @@ -35,7 +35,12 @@ namespace cds { namespace container { may be used as main building block for hash set algorithms. The key is a function (or a part) of type \p T, and this function is specified by Traits::compare functor - or Traits::less predicate + or Traits::less predicate. + + You don't need to include . Instead, you should do: + - - for gc::HP-based lazy list + - - for gc::PTB-based lazy list + - - for @ref cds_urcu_desc "RCU" based lazy list LazyKVList is a key-value version of lazy non-intrusive list that is closer to the C++ std library approach. @@ -825,4 +830,4 @@ namespace cds { namespace container { }} // namespace cds::container -#endif // #ifndef __CDS_CONTAINER_LAZY_LIST_IMPL_H +#endif // #ifndef __CDS_CONTAINER_IMPL_LAZY_LIST_H diff --git a/cds/container/lazy_list_hp.h b/cds/container/lazy_list_hp.h index cbb73cdc..d844fd27 100644 --- a/cds/container/lazy_list_hp.h +++ b/cds/container/lazy_list_hp.h @@ -6,6 +6,6 @@ #include #include #include -#include +#include #endif // #ifndef __CDS_CONTAINER_LAZY_LIST_HP_H diff --git a/cds/container/lazy_list_hrc.h b/cds/container/lazy_list_hrc.h index d466fd19..0a6b023a 100644 --- a/cds/container/lazy_list_hrc.h +++ b/cds/container/lazy_list_hrc.h @@ -6,6 +6,6 @@ #include #include #include -#include +#include #endif // #ifndef __CDS_CONTAINER_LAZY_LIST_HRC_H diff --git a/cds/container/lazy_list_ptb.h b/cds/container/lazy_list_ptb.h index be535fe2..8bc2750a 100644 --- a/cds/container/lazy_list_ptb.h +++ b/cds/container/lazy_list_ptb.h @@ -6,6 +6,6 @@ #include #include #include -#include +#include #endif // #ifndef __CDS_CONTAINER_LAZY_LIST_PTB_H diff --git a/projects/Win/vc12/cds.vcxproj b/projects/Win/vc12/cds.vcxproj index 6379e67d..dffb311b 100644 --- a/projects/Win/vc12/cds.vcxproj +++ b/projects/Win/vc12/cds.vcxproj @@ -672,6 +672,7 @@ + @@ -958,7 +959,6 @@ - diff --git a/projects/Win/vc12/cds.vcxproj.filters b/projects/Win/vc12/cds.vcxproj.filters index d53ecdbd..82486eb2 100644 --- a/projects/Win/vc12/cds.vcxproj.filters +++ b/projects/Win/vc12/cds.vcxproj.filters @@ -641,9 +641,6 @@ Header Files\cds\container - - Header Files\cds\container - Header Files\cds\container @@ -1283,5 +1280,8 @@ Header Files\cds\container\details + + Header Files\cds\container\impl + \ No newline at end of file -- 2.34.1