3 ms·
The problem is there is nothing like "atomic mutable", equivalent of C++ std::atomic with at least sequential consistency. So you get to drop all safety often
by AstralStorm 10y ago
The problem is there is nothing like "atomic mutable", equivalent of C++ std::atomic with at least sequential consistency.
So you get to drop all safety often instead to have shared mutability.
- dbaupp 10y agoThis is wrong. There is a std::sync::atomic module, along with types like Mutex and RWLock.