Function ensure_single_threaded

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

Ensures the current process is single-threaded.