Documentation

Miri.Interpreter.BlockingIo

Entire pinned concurrency/blocking_io.rs. Host mio Source/Poll and events remain real stateful effects; all event ordering, weak ownership, readiness and callback policy is implemented here.

Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Instances For
        structure Miri.Interpreter.BlockingIo.Hooks (S F Poll Host : Type) :
        Instances For
          def Miri.Interpreter.BlockingIo.newManager {S F P H : Type} (h : Hooks S F P H) (communicate : Bool) :
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def Miri.Interpreter.BlockingIo.register {S F P H : Type} (h : Hooks S F P H) (fd : F) :
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def Miri.Interpreter.BlockingIo.addBlockedThread {S F P H : Type} (h : Hooks S F P H) (id : Files.FdId) (thread : Concurrency.ThreadId) (interest : Interest) :
              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.Interpreter.BlockingIo.runGc {S F P H : Type} (h : Hooks S F P H) :
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    def Miri.Interpreter.BlockingIo.blockThreadForIo {S F P H : Type} (h : Hooks S F P H) (fd : F) (interest : Interest) (deadline : Option Concurrency.ThreadDeadline) (callback : Concurrency.SyncRuntime.Callback S) :
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      def Miri.Interpreter.BlockingIo.poll {S F P H : Type} (budget : Nat) (h : Hooks S F P H) (timeout : Option Clock.Duration) :

                      All event-source readiness bits are OR-ed before any readiness or IO callbacks execute, matching the source collect::<Vec<_>>() first phase.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        def Miri.Interpreter.BlockingIo.pollAndUnblock {S F P H : Type} (budget : Nat) (h : Hooks S F P H) (timeout : Option Clock.Duration) :
                        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