Skip to main content

Module sync_util

Module sync_util 

Source
Expand description

Mutex helpers for background threads (recover from poison instead of panicking).

Functionsยง

lock_or_recover
Lock a mutex, recovering the inner value if the mutex was poisoned.