mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 11:27:15 +02:00
relaxed wait_for_epochs
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user