Skip to main content

run

Function run 

Source
pub fn run(ctx: &Arc<Ctx>, root: i32) -> i32
Expand description

Runs the loop until every tracee has exited.

§Arguments

  • ctx - Shared supervisor state.
  • root - Pid of the first tracee, whose exit status becomes ours.

§Returns

The exit code to report: the root tracee’s status, or 128 plus the signal.