Skip to main content

tracing_test_lock

Function tracing_test_lock 

Source
pub fn tracing_test_lock() -> MutexGuard<'static, ()>
Expand description

Process-wide lock serializing tracing-capture tests. Hold the returned guard for the entire capture so another test’s subscriber cannot interleave.