Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Mutexes are faster than Spinlocks. Parent comment
Edit: here is a good (but long) article with a x86 Peterson Lock example (with an analysis of the critical race without the barrier):
https://bartoszmilewski.com/2008/11/05/who-ordered-memory-fe...
There are no comments on this comment yet.
Edit: here is a good (but long) article with a x86 Peterson Lock example (with an analysis of the critical race without the barrier):
https://bartoszmilewski.com/2008/11/05/who-ordered-memory-fe...