with_critical_section2

Function with_critical_section2 

Source
pub fn with_critical_section2<F, R>(
    a: &Bound<'_, PyAny>,
    b: &Bound<'_, PyAny>,
    f: F,
) -> R
where F: FnOnce() -> R,
👎Deprecated since 0.28.0: use pyo3::sync::critical_section::with_critical_section2 instead
Expand description