relaxed wait_for_epochs

This commit is contained in:
joaquintides
2023-12-03 13:03:39 +01:00
parent 821a2bfb45
commit 68b38901e7

View File

@ -1828,7 +1828,7 @@ private:
auto e=epochs[i].load(std::memory_order_acquire), auto e=epochs[i].load(std::memory_order_acquire),
e1=e|1u; e1=e|1u;
while(e==e1){ while(e==e1){
e=epochs[i].load(std::memory_order_acquire); e=epochs[i].load(std::memory_order_relaxed);
} }
} }
} }