forked from boostorg/unordered
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