Open sdroege opened 10 months ago
While it's in a separate crate, AtomicRefCell seems like a very useful addition here as it expresses slightly different guarantees than Mutex / RWLock, and in the situations where it can be used it has a lot less overhead.
AtomicRefCell
Mutex
RWLock
https://docs.rs/atomic_refcell
While it's in a separate crate,
AtomicRefCell
seems like a very useful addition here as it expresses slightly different guarantees thanMutex
/RWLock
, and in the situations where it can be used it has a lot less overhead.https://docs.rs/atomic_refcell