Skip to main content

scope_conditional_replace_lock_root

Function scope_conditional_replace_lock_root 

Source
pub fn scope_conditional_replace_lock_root(
    root: impl AsRef<Path>,
) -> ScopedConditionalReplaceLockRoot
Expand description

Route compare-and-replace locks through a caller-owned root on this thread. Worker threads must install their own guard; the override is intended for isolated embedders and tests, not as ambient workflow state.