From 68b38901e7a510d19031e5135ccedaa69d924cd1 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sun, 3 Dec 2023 13:03:39 +0100 Subject: [PATCH] relaxed wait_for_epochs --- include/boost/unordered/detail/foa/concurrent_table.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa/concurrent_table.hpp b/include/boost/unordered/detail/foa/concurrent_table.hpp index 4e4abf49..4333a474 100644 --- a/include/boost/unordered/detail/foa/concurrent_table.hpp +++ b/include/boost/unordered/detail/foa/concurrent_table.hpp @@ -1828,7 +1828,7 @@ private: auto e=epochs[i].load(std::memory_order_acquire), e1=e|1u; while(e==e1){ - e=epochs[i].load(std::memory_order_acquire); + e=epochs[i].load(std::memory_order_relaxed); } } }