I think Rust's parking_lot crate would be useful to enhance the stdlib's concurrency and synchronization primitives, since we are doing a lot of concurrency-related stuff in the client.
I don't believe parking_lot's Mutexes and RwLocks can be poisoned, so that already significantly cuts down on the many .unwrap()s we have lying around to "handle" poisoned locks
I think Rust's
parking_lot
crate would be useful to enhance the stdlib's concurrency and synchronization primitives, since we are doing a lot of concurrency-related stuff in the client.I don't believe
parking_lot
'sMutex
es andRwLock
s can be poisoned, so that already significantly cuts down on the many.unwrap()
s we have lying around to "handle" poisoned locks