Documentation

Miri.Concurrency.LocalRace

Frame-local vector clocks and their transfer into addressable memory from pinned src/concurrency/data_race.rs:1303–1404. Diagnostic spans are omitted; timestamp times and packed read kinds are preserved.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      Instances For
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          Equations
          Instances For
            Instances For
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                Instances For
                  def Miri.Concurrency.LocalRace.localWrite (frame : FrameState) (global : GlobalState) (threads : ThreadManager) (localId : Nat) (storageLive : Bool) :

                  Source local_write only records clocks when race_detecting is true. StorageLive resets the previous read timestamp; ordinary writes retain it.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    def Miri.Concurrency.LocalRace.localRead (frame : FrameState) (global : GlobalState) (threads : ThreadManager) (localId : Nat) :

                    Source local_read first sets the active timestamp's packed read type, then saves that full timestamp into the local map, without incrementing time.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For

                      Transfer historical local times, not allocation/materialization time. Each byte's atomic metadata is retained. The local map entry is removed before any assertion; earlier bytes remain updated on a later invariant failure.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For