6 ms·
Not every program that's written will even be multithreaded, and there's a significant cost to using atomic operations when you don't need them. What is the dis
by FreeFull 3y ago
Not every program that's written will even be multithreaded, and there's a significant cost to using atomic operations when you don't need them. What is the disadvantage of having non-atomic Rc be available?
- deleted 3y ago[deleted]
- skitter 3y agoAnd Rc can still be useful for multithreaded programs. Not every value needs to be shared between threads.