Skip to main content

lock_store

Function lock_store 

Source
fn lock_store(store: &Mutex<CursorStore>) -> MutexGuard<'_, CursorStore>
Expand description

The store’s lock, recovered if a panic elsewhere poisoned it: the map is left consistent by every operation on it, and a poisoned lock must not silently end every listing.