mirror of
https://github.com/solaeus/nucleo.git
synced 2024-11-10 01:27:10 +00:00
fix typos
This commit is contained in:
parent
b9ac6c9a20
commit
1aafe89a16
@ -100,9 +100,9 @@ impl<T> Vec<T> {
|
|||||||
debug_assert!(!entries.is_null());
|
debug_assert!(!entries.is_null());
|
||||||
let entry = Bucket::<T>::get(entries, location.entry, self.columns);
|
let entry = Bucket::<T>::get(entries, location.entry, self.columns);
|
||||||
// this looks odd but is necessary to ensure cross
|
// this looks odd but is necessary to ensure cross
|
||||||
// thread synchronizaton (essentailly acting as a memory barrier)
|
// thread synchronization (essentially acting as a memory barrier)
|
||||||
// since the caller must only gurantee that he has observed active on any thread
|
// since the caller must only guarantee that he has observed active on any thread
|
||||||
// but the current thread might still have an old value cached (altough unlikely)
|
// but the current thread might still have an old value cached (although unlikely)
|
||||||
let _ = (*entry).active.load(Ordering::Acquire);
|
let _ = (*entry).active.load(Ordering::Acquire);
|
||||||
Entry::read(entry, self.columns)
|
Entry::read(entry, self.columns)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user