Hacker News new | past | comments | ask | show | jobs | submit login

Yep, but first you have to load this counter and increment it manually in some CPU register. And you also need to repeat the whole sequence in case CMPXCHG8B fails.

With 32 bit integers you just execute XADD and move on with your life.




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

Search: