Re:Yes, You Have Been Writing SPSC Queues Wrong
by IanCal on Thursday December 15, 2016 @05:39PM
(#13189305)
Is there a way of hinting this to the compiler, rather than adding a explicit padding? Any way of saying "please don't put the following on the same cache line"?
[ Parent
| on HN ]
Re:Yes, You Have Been Writing SPSC Queues Wrong
by NotThe1Pct on Thursday December 15, 2016 @05:41PM
(#13189320)
You could use the alignas(64) specifier