diff --git a/include/boost/unordered/detail/foa/concurrent_table.hpp b/include/boost/unordered/detail/foa/concurrent_table.hpp index 5985d6e2..3557d7ab 100644 --- a/include/boost/unordered/detail/foa/concurrent_table.hpp +++ b/include/boost/unordered/detail/foa/concurrent_table.hpp @@ -56,7 +56,7 @@ #include #endif -std::atomic garbage_collected=0; +std::atomic garbage_vector_full=0; namespace boost{ namespace unordered{ @@ -520,6 +520,8 @@ public: retired_element_traits::construct(ral,&v.retired_elements[j]); } } + + garbage_vector_full=0; #endif } @@ -570,11 +572,12 @@ public: } std::cout - <<"version: 2024/01/22 09:50; " + <<"version: 2024/01/26 11:15; " <<"lf: "<<(double)size()/capacity()<<"; " <<"capacity: "<max_epoch)break; - //++garbage_collected; e.epoch=retired_element::available_; ++rpos; }