Y
Hacker News
new
|
ask
|
show
|
jobs
by
FreeFull
854 days 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?
1 comments
skitter
854 days ago
And Rc can still be useful for multithreaded programs. Not every value needs to be shared between threads.
link