Struct miri::concurrency::data_race::AtomicMemoryCellClocks
source · [−]Expand description
Externally stored memory cell clocks explicitly to reduce memory usage for the common case where no atomic operations exists on the memory cell.
Fields
read_vector: VClock
The clock-vector of the timestamp of the last atomic read operation performed by each thread. This detects potential data-races between atomic read and non-atomic write operations.
write_vector: VClock
The clock-vector of the timestamp of the last atomic write operation performed by each thread. This detects potential data-races between atomic write and non-atomic read or write operations.
sync_vector: VClock
Synchronization vector for acquire-release semantics contains the vector of timestamps that will happen-before a thread if an acquire-load is performed on the data.
Trait Implementations
sourceimpl Clone for AtomicMemoryCellClocks
impl Clone for AtomicMemoryCellClocks
sourcefn clone(&self) -> AtomicMemoryCellClocks
fn clone(&self) -> AtomicMemoryCellClocks
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for AtomicMemoryCellClocks
impl Debug for AtomicMemoryCellClocks
sourceimpl Default for AtomicMemoryCellClocks
impl Default for AtomicMemoryCellClocks
sourcefn default() -> AtomicMemoryCellClocks
fn default() -> AtomicMemoryCellClocks
sourceimpl PartialEq<AtomicMemoryCellClocks> for AtomicMemoryCellClocks
impl PartialEq<AtomicMemoryCellClocks> for AtomicMemoryCellClocks
sourcefn eq(&self, other: &AtomicMemoryCellClocks) -> bool
fn eq(&self, other: &AtomicMemoryCellClocks) -> bool
impl Eq for AtomicMemoryCellClocks
impl StructuralEq for AtomicMemoryCellClocks
impl StructuralPartialEq for AtomicMemoryCellClocks
Auto Trait Implementations
impl RefUnwindSafe for AtomicMemoryCellClocks
impl Send for AtomicMemoryCellClocks
impl Sync for AtomicMemoryCellClocks
impl Unpin for AtomicMemoryCellClocks
impl UnwindSafe for AtomicMemoryCellClocks
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 96 bytes