4 ms·
I haven't seen too much recent stuff. I made this fix probably around 2004, and the code was at least a couple of years old at that point. We initially targete
by mikeash 10y ago
I haven't seen too much recent stuff. I made this fix probably around 2004, and the code was at least a couple of years old at that point.
We initially targeted PPC Mac, then it eventually expanded to x86 Mac and ARM iOS. All fairly similar when it comes to simple stuff like this, the barriers are straightforward when needed, and no need for DCAS or similar fanciness. (Indeed, no need for any CAS at all.)