We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RawIter::next
1 parent c7d8dcd commit 3d69afaCopy full SHA for 3d69afa
src/lib.rs
@@ -378,7 +378,7 @@ impl RawIter {
378
fn next<'a, T: Send + Sync>(&mut self, thread_local: &'a ThreadLocal<T>) -> Option<&'a T> {
379
while self.bucket < BUCKETS {
380
let bucket = unsafe { thread_local.buckets.get_unchecked(self.bucket) };
381
- let bucket = bucket.load(Ordering::Relaxed);
+ let bucket = bucket.load(Ordering::Acquire);
382
383
if !bucket.is_null() {
384
while self.index < self.bucket_size {
0 commit comments