pub fn park_if_exiting()Expand description
Parks the calling thread once the watchdog has begun to exit, until that exit ends the process. Called before every
exit and result hand-off a timed-out run could race (the binaries’ final exits, cortex_worker’s results). Bounded: if
the exit has not come within a minute (a pre-exit hook that blocked, or a sweep slower than that, which it then cuts
short) the thread exits itself, with the claimed code, through exit_now: the watchdog thread still runs.