rename cds::lock namespace to cds::sync, move corresponding .h files
[libcds.git] / cds / algo / flat_combining.h
index 19fc20bdd9ad3d60adfbfc17e5c7f8f7279bd20b..4bacda837eb570f85d06679e18b8733472b3e9ec 100644 (file)
@@ -7,7 +7,7 @@
 #include <cds/algo/atomic.h>
 #include <cds/details/allocator.h>
 #include <cds/algo/backoff_strategy.h>
-#include <cds/lock/spinlock.h>
+#include <cds/sync/spinlock.h>
 #include <cds/opt/options.h>
 #include <cds/algo/int_algo.h>
 #include <boost/thread/tss.hpp>     // thread_specific_ptr
@@ -184,7 +184,7 @@ namespace cds { namespace algo {
         */
         struct traits
         {
-            typedef cds::lock::Spin             lock_type;  ///< Lock type
+            typedef cds::sync::spin             lock_type;  ///< Lock type
             typedef cds::backoff::delay_of<2>   back_off;   ///< Back-off strategy
             typedef CDS_DEFAULT_ALLOCATOR       allocator;  ///< Allocator used for TLS data (allocating publication_record derivatives)
             typedef empty_stat                  stat;       ///< Internal statistics
@@ -194,7 +194,7 @@ namespace cds { namespace algo {
         /// Metafunction converting option list to traits
         /**
             \p Options are:
-            - \p opt::lock_type - mutex type, default is \p cds::lock::Spin
+            - \p opt::lock_type - mutex type, default is \p cds::sync::spin
             - \p opt::back_off - back-off strategy, defalt is \p cds::backoff::delay_of<2>
             - \p opt::allocator - allocator type, default is \ref CDS_DEFAULT_ALLOCATOR
             - \p opt::stat - internal statistics, possible type: \ref stat, \ref empty_stat (the default)