5 ms·
You can align and pad each ring buffer slot to the cache line size. Example https://github.com/rigtorp/MPMCQueue/blob/master/include/rigtorp/MPMCQueue.h#L106 ht
by rigtorp 5y ago
You can align and pad each ring buffer slot to the cache line size. Example https://github.com/rigtorp/MPMCQueue/blob/master/include/rigtorp/MPMCQueue.h#L106 https://github.com/rigtorp/MPMCQueue/blob/master/include/rig...