pub fn with_mut<R>(f: impl FnOnce(&mut ProcessState) -> R) -> R
Exclusive access to the active process state.