Re:Ditch your (mut)ex, you deserve better
by magicalhippo on Tuesday November 18, 2025 @07:50AM
(#45965007)
But the mutex encapsulates the int, so if the mutex ensured it occupied a multiple of cache lines, there would be no contention. At the very small cost of a few bytes of memory.
[ Parent
| on HN ]