From f6c63698d567fc5c70556130c5ba9bed9a18d5b6 Mon Sep 17 00:00:00 2001 From: khizmax Date: Thu, 18 Sep 2014 19:29:13 +0400 Subject: [PATCH] Move cds/backoff_strategy.h to cds/algo/backoff_strategy.h --- cds/{ => algo}/backoff_strategy.h | 8 ++++---- cds/algo/flat_combining.h | 2 +- cds/intrusive/base.h | 2 +- cds/lock/spinlock.h | 2 +- cds/urcu/details/gpb.h | 2 +- cds/urcu/details/gpi.h | 2 +- cds/urcu/details/gpt.h | 2 +- cds/urcu/details/sig_buffered.h | 2 +- cds/urcu/details/sig_threaded.h | 2 +- cds/urcu/dispose_thread.h | 1 - projects/Win/vc12/cds.vcxproj | 2 +- projects/Win/vc12/cds.vcxproj.filters | 6 +++--- 12 files changed, 16 insertions(+), 17 deletions(-) rename cds/{ => algo}/backoff_strategy.h (98%) diff --git a/cds/backoff_strategy.h b/cds/algo/backoff_strategy.h similarity index 98% rename from cds/backoff_strategy.h rename to cds/algo/backoff_strategy.h index b36df538..24852bba 100644 --- a/cds/backoff_strategy.h +++ b/cds/algo/backoff_strategy.h @@ -167,7 +167,7 @@ namespace cds { example, you may define two \p exponential back-offs that is the best for your task A and B: \code - #include + #include namespace bkoff = cds::backoff; struct tagA ; // tag to select task A implementation @@ -189,7 +189,7 @@ namespace cds { Another way of solving this problem is subclassing \p exponential back-off class: \code - #include + #include namespace bkoff = cds::backoff; typedef bkoff::exponential base_bkoff; @@ -309,7 +309,7 @@ namespace cds { example, you may define two \p delay back-offs for 5 and 10 ms timeout: \code - #include + #include namespace bkoff = cds::backoff; struct ms5 ; // tag to select 5ms @@ -326,7 +326,7 @@ namespace cds { Another way of solving this problem is subclassing \p delay back-off class: \code - #include + #include namespace bkoff = cds::backoff; typedef bkoff::delay<> delay_bkoff; diff --git a/cds/algo/flat_combining.h b/cds/algo/flat_combining.h index d5b780b6..4499dc03 100644 --- a/cds/algo/flat_combining.h +++ b/cds/algo/flat_combining.h @@ -5,7 +5,7 @@ #include #include -#include +#include #include #include // lock_guard #include diff --git a/cds/intrusive/base.h b/cds/intrusive/base.h index 1247f4b8..8fa8e4f6 100644 --- a/cds/intrusive/base.h +++ b/cds/intrusive/base.h @@ -5,7 +5,7 @@ #include #include -#include +#include namespace cds { diff --git a/cds/lock/spinlock.h b/cds/lock/spinlock.h index 19be1a4f..e12e9644 100644 --- a/cds/lock/spinlock.h +++ b/cds/lock/spinlock.h @@ -14,7 +14,7 @@ #include #include -#include +#include #include #include diff --git a/cds/urcu/details/gpb.h b/cds/urcu/details/gpb.h index 5df1fcbc..b5d85b49 100644 --- a/cds/urcu/details/gpb.h +++ b/cds/urcu/details/gpb.h @@ -4,7 +4,7 @@ #define _CDS_URCU_DETAILS_GPB_H #include -#include +#include #include #include diff --git a/cds/urcu/details/gpi.h b/cds/urcu/details/gpi.h index 4d9a852d..2ab6553f 100644 --- a/cds/urcu/details/gpi.h +++ b/cds/urcu/details/gpi.h @@ -4,7 +4,7 @@ #define _CDS_URCU_DETAILS_GPI_H #include -#include +#include #include #include diff --git a/cds/urcu/details/gpt.h b/cds/urcu/details/gpt.h index c741ea2e..994e50a6 100644 --- a/cds/urcu/details/gpt.h +++ b/cds/urcu/details/gpt.h @@ -5,7 +5,7 @@ #include #include -#include +#include #include namespace cds { namespace urcu { diff --git a/cds/urcu/details/sig_buffered.h b/cds/urcu/details/sig_buffered.h index 81f88013..5ab1ad25 100644 --- a/cds/urcu/details/sig_buffered.h +++ b/cds/urcu/details/sig_buffered.h @@ -6,7 +6,7 @@ #include #ifdef CDS_URCU_SIGNAL_HANDLING_ENABLED -#include +#include #include #include diff --git a/cds/urcu/details/sig_threaded.h b/cds/urcu/details/sig_threaded.h index e4820943..9056e894 100644 --- a/cds/urcu/details/sig_threaded.h +++ b/cds/urcu/details/sig_threaded.h @@ -7,7 +7,7 @@ #ifdef CDS_URCU_SIGNAL_HANDLING_ENABLED #include -#include +#include #include namespace cds { namespace urcu { diff --git a/cds/urcu/dispose_thread.h b/cds/urcu/dispose_thread.h index 3c1619c1..5a8686fb 100644 --- a/cds/urcu/dispose_thread.h +++ b/cds/urcu/dispose_thread.h @@ -3,7 +3,6 @@ #ifndef _CDS_URCU_DISPOSE_THREAD_H #define _CDS_URCU_DISPOSE_THREAD_H -//#include #include #include #include diff --git a/projects/Win/vc12/cds.vcxproj b/projects/Win/vc12/cds.vcxproj index ed9e83be..2c7c3604 100644 --- a/projects/Win/vc12/cds.vcxproj +++ b/projects/Win/vc12/cds.vcxproj @@ -632,6 +632,7 @@ + @@ -808,7 +809,6 @@ - diff --git a/projects/Win/vc12/cds.vcxproj.filters b/projects/Win/vc12/cds.vcxproj.filters index 5df3e497..7ac92ccf 100644 --- a/projects/Win/vc12/cds.vcxproj.filters +++ b/projects/Win/vc12/cds.vcxproj.filters @@ -194,9 +194,6 @@ Source Files - - Header Files\cds - Header Files\cds @@ -1322,5 +1319,8 @@ Header Files + + Header Files\cds\algo + \ No newline at end of file -- 2.34.1