2 ms·
Yeah, don't use what I've said as a guide for writing your own stuff. I'm pretty sure I did it right, but you need a lot more understanding of what's going on t
by mikeash 10y ago
Yeah, don't use what I've said as a guide for writing your own stuff. I'm pretty sure I did it right, but you need a lot more understanding of what's going on than what I've explained....
These days, with atomics showing up in the C and C++ standard libraries, there are better ways to do it altogether.