Skip to main content

REENTRANT_DEPTH

Constant REENTRANT_DEPTH 

Source
pub const REENTRANT_DEPTH: usize = 8;
Expand description

Deliveries to re-entrant sinks that may be in progress at once before a record takes the guarded path instead. It bounds a re-entrant sink that logs through nros_log (each nested record is one more), so it is kept small: a nested delivery is a frame on the raising stack. Concurrent loggers past it are not lost; they queue as they did before re-entrant sinks existed.