Documentation

Miri.Concurrency.DataRaceVerification

The release-fence transition copies the current clock and preserves the remaining per-thread synchronization metadata.

The acquire-fence transition joins its pending clock and preserves the other synchronization metadata.

theorem Miri.Concurrency.Verification.atomic_access_rejects_incompatible_write (cell : MemoryCellClocks) (thread : ThreadClockSet) (oldAtomic : AtomicMemoryCellClocks) (newSize : ByteSize) (hOldSize : oldAtomic.size ≠ some newSize) (hReads : oldAtomic.readVector.le thread.clock = false) (hWrites : oldAtomic.writeVector.le thread.clock = false) (hCell : cell.atomicOps = some oldAtomic) :

Incompatible concurrent atomic sizes reject a write access.