Skip to content

Commit

Permalink
Merge pull request #34 from ibraheemdev/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed Jan 24, 2022
2 parents c7d8dcd + 3d69afa commit ebf8b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -378,7 +378,7 @@ impl RawIter {
fn next<'a, T: Send + Sync>(&mut self, thread_local: &'a ThreadLocal<T>) -> Option<&'a T> {
while self.bucket < BUCKETS {
let bucket = unsafe { thread_local.buckets.get_unchecked(self.bucket) };
let bucket = bucket.load(Ordering::Relaxed);
let bucket = bucket.load(Ordering::Acquire);

if !bucket.is_null() {
while self.index < self.bucket_size {
Expand Down

0 comments on commit ebf8b45

Please sign in to comment.