Re:A spin lock in C that does not require a machine level ex...
by colanderman on Sunday May 04, 2014 @09:14PM
(#7696556)
I misread the algorithm, sorry. On second read, it appears to check out (modulo memory barriers!) up to the retry-on-fail, which, as Jacques Mattheij points out elsewhere, leads to a failure in mutual exclusion. I've updated my reply to reflect this failure mode.
[ Parent
| on HN ]
There are no comments on this comment yet.