Skip to main content

dispatch_holder_frame

Function dispatch_holder_frame 

Source
pub fn dispatch_holder_frame() -> usize
Expand description

The address of a stack slot in the frame that holds the dispatch guard, or 0 when no delivery is in progress.

For a fault handler: if this lies inside the dying thread’s stack, that thread holds the dispatcher, and release_dead_dispatch_holder is how to stop it stranding every later record. Lock-free, safe from any context.