3 ms·
It's mentioned in the link, but circular/ring buffers. I've been grappling with decoding/playing back an audio stream and wouldn't have gotten it working if I
by serge2k 13y ago
It's mentioned in the link, but circular/ring buffers.
I've been grappling with decoding/playing back an audio stream and wouldn't have gotten it working if I hadn't found out about boosts lockfree ring buffer.
- dllthomas 13y agoRecently I learned that if you're using a ring buffer for message passing, the clflush opcode (after sending and after receiving) can dramatically reduce cache misses.