mirror of
https://github.com/solaeus/nucleo.git
synced 2024-11-09 17:17:11 +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());
|
||||
let entry = Bucket::<T>::get(entries, location.entry, self.columns);
|
||||
// this looks odd but is necessary to ensure cross
|
||||
// thread synchronizaton (essentailly acting as a memory barrier)
|
||||
// since the caller must only gurantee that he has observed active on any thread
|
||||
// but the current thread might still have an old value cached (altough unlikely)
|
||||
// thread synchronization (essentially acting as a memory barrier)
|
||||
// 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 (although unlikely)
|
||||
let _ = (*entry).active.load(Ordering::Acquire);
|
||||
Entry::read(entry, self.columns)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user