safe_fork

Function ensure_single_threaded

source
pub fn ensure_single_threaded() -> Result<()>
Expand description

Ensures the current process is single-threaded.