Y
Hacker News
new
|
ask
|
show
|
jobs
by
wat10000
213 days ago
If you're targeting a vaguely modern C standard, atomics win by being part of the language. C11 has atomics and it's straightforward to use them to implement thread-safe reference counting.