fn hold_name(name: &str) -> Option<usize>
Creates a mutex under name and returns its handle. Returns None when the name is already taken by an object of another type, such as an event.
name
None