Documentation

Miri.Concurrency.Scheduler

Miri's local scheduling policy: preserve the fast path, ordered readiness/I/O/deadline effects, cyclic candidate order, fixed scheduling, and sleep/deadlock outcomes. Host effects remain explicit obligations.

Scheduler actions that require an interpreter or host callback before Miri can choose a local runnable thread.

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

      Result of the scheduler's first-stage dispatch.

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

                Final action of a local scheduling decision.

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

                    Return Miri's exact cyclic thread visitation order: IDs after the current thread, then IDs through the current thread.

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

                      Enabled IDs in the source iterator's cyclic order.

                      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
                          def Miri.Concurrency.Scheduler.finishLocal (managerAfterEnvironment : ThreadManager) (potentialSleepTime : Option Nat) (anyThreadBlockedOnHost : Bool) (rank : Nat) :

                          Finish the local scheduler policy after the listed environment callbacks have returned. rank is an explicit choice among all enabled source candidates when scheduling is nondeterministic; it is ignored under Miri's fixed-scheduling mode. The caller supplies deadline and host-I/O facts from the actual machine state.

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