Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I believe it's the `lock xadd` instruction. It's faster when combined with x86 Total Store Ordering mode that the Rosetta emulation runs under.


Looking at objc_retain apparently it's a lock cmpxchg these days




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: