Skip to main content

ReplayRefusalExitHook

Type Alias ReplayRefusalExitHook 

Source
pub type ReplayRefusalExitHook = fn(u64);
Expand description

What a process does with the number of late precise timer events it recorded (Reverie’s skid-overshoot witness, reverie::skid_overshoot_count) just before a replay refusal exits it with HERMIT_POLICY_REFUSAL_EXIT (exit_on_replay_refusal). The status is all that crosses the process boundary, and it is every refusal’s status, so a parent that forked the process learns through this hook that the refusal followed a late event.