Re:Mutexes are faster than Spinlocks
by gpderetta on Saturday January 04, 2020 @03:37PM
(#21957309)
On Intel (and probably very similar on AMD) the cost of a completely uncontented, cache hit, simple spin lock acquisition is ~20 clock cycles while the release is almost free.
[ Parent
| on HN ]
There are no comments on this comment yet.