diff --git a/include/boost/unordered/detail/foa/concurrent_table.hpp b/include/boost/unordered/detail/foa/concurrent_table.hpp index ab023fc0..4d0f9a78 100644 --- a/include/boost/unordered/detail/foa/concurrent_table.hpp +++ b/include/boost/unordered/detail/foa/concurrent_table.hpp @@ -572,7 +572,7 @@ public: } std::cout - <<"version: 2024/01/29 13:10; " + <<"version: 2024/02/02 20:00; " <<"lf: "<<(double)size()/capacity()<<"; " <<"capacity: "<=ce-1&& + auto ce=current_epoch.load(std::memory_order_relaxed); + if(everybody_reached_epoch(ce)&& current_epoch.compare_exchange_strong(ce,ce+1)){ v.epoch=ce+1; }