Y
Hacker News
new
|
ask
|
show
|
jobs
by
rigtorp
1810 days ago
You can align and pad each ring buffer slot to the cache line size. Example
https://github.com/rigtorp/MPMCQueue/blob/master/include/rig...