Skip to main content

raise_cycle_guard_activate

Function raise_cycle_guard_activate 

Source
pub fn raise_cycle_guard_activate(floor: usize)
Expand description

Raise the cycle-guard activation floor for the current (thread-local) gullet, only ever upward. Called from graphics package bindings (pgf/tikz/xy) whose healthy expansion runs to 100M+ tokens — see CYCLE_GUARD_ACTIVATE_GRAPHICS. Idempotent and order-independent: loading several graphics packages just re-asserts the same floor. The per-conversion reset (initialize_gullet) restores the default so the raise does not leak across documents.