Skip to main content

join_held_worker

Function join_held_worker 

Source
pub(crate) fn join_held_worker(slot: &mut Option<JoinHandle<()>>, inner: &Inner)
Expand description

Join the worker slot holds, having set the external stop INSIDE the caller’s lock immediately before join() — the set-before-join ordering the lost-stop invariant rests on — and clear capture_tid so a later start sees no stale owner. Every stop path ends here.