From 2baca2816793fcbf95360eeb6afe8c6450085905 Mon Sep 17 00:00:00 2001 From: khizmax Date: Fri, 14 Nov 2014 14:48:26 +0300 Subject: [PATCH] rearrange cds/gc content --- cds/gc/dhp.h | 4 +-- cds/gc/{ptb/ptb.h => dhp/dhp.h} | 0 cds/gc/{ => dhp}/dhp_decl.h | 2 +- cds/gc/{ => dhp}/dhp_impl.h | 0 cds/gc/gc_fwd.h | 18 ------------ cds/gc/hp.h | 4 +-- cds/gc/hp/{hzp.h => hp.h} | 0 cds/gc/{ => hp}/hp_decl.h | 0 cds/gc/{ => hp}/hp_impl.h | 0 cds/threading/details/_common.h | 4 +-- projects/Win/vc12/cds.vcxproj | 13 ++++----- projects/Win/vc12/cds.vcxproj.filters | 41 +++++++++++++-------------- src/ptb_gc.cpp | 2 +- 13 files changed, 33 insertions(+), 55 deletions(-) rename cds/gc/{ptb/ptb.h => dhp/dhp.h} (100%) rename cds/gc/{ => dhp}/dhp_decl.h (99%) rename cds/gc/{ => dhp}/dhp_impl.h (100%) delete mode 100644 cds/gc/gc_fwd.h rename cds/gc/hp/{hzp.h => hp.h} (100%) rename cds/gc/{ => hp}/hp_decl.h (100%) rename cds/gc/{ => hp}/hp_impl.h (100%) diff --git a/cds/gc/dhp.h b/cds/gc/dhp.h index 819f49dc..6943a5f0 100644 --- a/cds/gc/dhp.h +++ b/cds/gc/dhp.h @@ -3,8 +3,8 @@ #ifndef __CDS_GC_PTB_H #define __CDS_GC_PTB_H -#include -#include +#include +#include #include #endif // #ifndef __CDS_GC_PTB_H diff --git a/cds/gc/ptb/ptb.h b/cds/gc/dhp/dhp.h similarity index 100% rename from cds/gc/ptb/ptb.h rename to cds/gc/dhp/dhp.h diff --git a/cds/gc/dhp_decl.h b/cds/gc/dhp/dhp_decl.h similarity index 99% rename from cds/gc/dhp_decl.h rename to cds/gc/dhp/dhp_decl.h index 32499132..111b90bc 100644 --- a/cds/gc/dhp_decl.h +++ b/cds/gc/dhp/dhp_decl.h @@ -3,7 +3,7 @@ #ifndef __CDS_GC_PTB_DECL_H #define __CDS_GC_PTB_DECL_H -#include +#include #include #include diff --git a/cds/gc/dhp_impl.h b/cds/gc/dhp/dhp_impl.h similarity index 100% rename from cds/gc/dhp_impl.h rename to cds/gc/dhp/dhp_impl.h diff --git a/cds/gc/gc_fwd.h b/cds/gc/gc_fwd.h deleted file mode 100644 index 365569f3..00000000 --- a/cds/gc/gc_fwd.h +++ /dev/null @@ -1,18 +0,0 @@ -//$$CDS-header$$ - -#ifndef __CDS_GC_FORWARD_H -#define __CDS_GC_FORWARD_H - -#include - -//@cond -namespace cds { namespace gc { - class HP; - class PTB; - - class nogc; -}} // namespace cds::gc - -//@endcond - -#endif // #ifndef __CDS_GC_FORWARD_H diff --git a/cds/gc/hp.h b/cds/gc/hp.h index 2c87f006..54618eab 100644 --- a/cds/gc/hp.h +++ b/cds/gc/hp.h @@ -3,8 +3,8 @@ #ifndef __CDS_GC_HP_H #define __CDS_GC_HP_H -#include -#include +#include +#include #include #endif // #ifndef __CDS_GC_HP_H diff --git a/cds/gc/hp/hzp.h b/cds/gc/hp/hp.h similarity index 100% rename from cds/gc/hp/hzp.h rename to cds/gc/hp/hp.h diff --git a/cds/gc/hp_decl.h b/cds/gc/hp/hp_decl.h similarity index 100% rename from cds/gc/hp_decl.h rename to cds/gc/hp/hp_decl.h diff --git a/cds/gc/hp_impl.h b/cds/gc/hp/hp_impl.h similarity index 100% rename from cds/gc/hp_impl.h rename to cds/gc/hp/hp_impl.h diff --git a/cds/threading/details/_common.h b/cds/threading/details/_common.h index b31823a4..86f63c54 100644 --- a/cds/threading/details/_common.h +++ b/cds/threading/details/_common.h @@ -3,8 +3,8 @@ #ifndef __CDS_THREADING__COMMON_H #define __CDS_THREADING__COMMON_H -#include -#include +#include +#include #include #include diff --git a/projects/Win/vc12/cds.vcxproj b/projects/Win/vc12/cds.vcxproj index d242c1e1..cf1ef383 100644 --- a/projects/Win/vc12/cds.vcxproj +++ b/projects/Win/vc12/cds.vcxproj @@ -735,18 +735,18 @@ - - - + + + - - - + + + @@ -837,7 +837,6 @@ - diff --git a/projects/Win/vc12/cds.vcxproj.filters b/projects/Win/vc12/cds.vcxproj.filters index 75906e30..bee42d54 100644 --- a/projects/Win/vc12/cds.vcxproj.filters +++ b/projects/Win/vc12/cds.vcxproj.filters @@ -18,9 +18,6 @@ {a3c9928d-5261-4593-a8b9-728235f7056f} - - {53d28ee4-5fe9-4fa1-a617-53d8b0628eac} - {d7c48c0e-cc45-4a1a-b8e9-aa5b50abd22a} @@ -154,6 +151,9 @@ {043c4eba-3bd4-4226-b214-e26f18b422a1} + + {9c0f5739-8d9d-46c2-bb91-90ca5beecc6d} + @@ -248,9 +248,6 @@ Header Files\cds\gc - - Header Files\cds\gc\ptb - Header Files\cds\gc\details @@ -638,12 +635,6 @@ Header Files\cds\container\details - - Header Files\cds\gc - - - Header Files\cds\gc - Header Files\cds\compiler @@ -926,9 +917,6 @@ Header Files\cds\details - - Header Files\cds\gc - Header Files\cds\urcu\details @@ -1169,12 +1157,6 @@ Header Files\cds\gc - - Header Files\cds\gc - - - Header Files\cds\gc - Header Files\cds\gc\hp @@ -1190,7 +1172,22 @@ Header Files\cds\gc\hp - + + Header Files\cds\gc\hp + + + Header Files\cds\gc\dhp + + + Header Files\cds\gc\dhp + + + Header Files\cds\gc\dhp + + + Header Files\cds\gc\hp + + Header Files\cds\gc\hp diff --git a/src/ptb_gc.cpp b/src/ptb_gc.cpp index 59a149c2..b17d0e61 100644 --- a/src/ptb_gc.cpp +++ b/src/ptb_gc.cpp @@ -5,7 +5,7 @@ #include // std::fill #include // std::hash -#include +#include #include namespace cds { namespace gc { namespace ptb { -- 2.34.1