Documentation

Miri.Interpreter.ThreadTerminationMachine

Source thread.rs:756–824, canonical Ready→termination integration. TLS metadata is removed before frees, race finish follows successful cleanup, then each typed join continuation executes in the waiter's actual frame context.

structure Miri.Interpreter.ThreadTerminationMachine.Hooks (U C O X F A Aff Payload : Type) :
Instances For
    def Miri.Interpreter.ThreadTerminationMachine.terminate {U C O X F A Aff Payload : Type} (h : Hooks U C O X F A Aff Payload) (choice : C) (forExit : Bool) :

    No token-only compatibility stack controls termination: the canonical actual frame array determines the source empty-stack assertion.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def Miri.Interpreter.ThreadTerminationMachine.onStackEmpty {U C O X F A Aff Payload : Type} (h : Hooks U C O X F A Aff Payload) (choice : C) :

      Bind this to the scheduler's normal-thread callback. Program exit has a separate exit handler and its explicit for_exit cleanup policy.

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