Skip to main content

VirtualTimeoutExitHook

Type Alias VirtualTimeoutExitHook 

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

What a process does with a --virtual-timeout bound, in virtual nanoseconds, just before the scheduler exits it with 124 because no TerminalOutcomeUnwind took the outcome. The status is all that crosses the process boundary, and 124 is every deadline’s status, so a parent that forked the process learns of the virtual timeout through this hook instead.