pub fn arc_mutex_reference<T>(was: T) -> Reference<T>
Create a new Arc<Mutex> of something and return a Reference to it. Because of how Arc and Rc, its single-threaded counterpart, work, it won’t be dropped until the last clone of the Reference is. This is reexported at the crate level.
Arc<Mutex>
Reference
Arc
Rc