Skip to main content

init_shared_stderr_deadline_origin

Function init_shared_stderr_deadline_origin 

Source
pub fn init_shared_stderr_deadline_origin()
Expand description

Create the origin cell every hermit process of this invocation shares.

⚠️ MUST BE CALLED BEFORE THE FIRST FORK, and is called from the top of main. A mapping made after a fork is not shared with the child that already exists, so a late call would silently give each process its own origin – the exact failure this removes. main dominates every with_container and run_guarded_at site in run.rs, replay.rs and record_start.rs.