|
|
|
|
|
by jlokier
2172 days ago
|
|
> In point of fact, only low-level drivers need concern themselves with ring buffers. As a side point, ring buffers are also useful in some high-level, high-performance code that is multi-threaded or using multi-processors. io_uring is an example of this used to speed up Linux kernel-userspace communication (although it's not a great example for illustrating the general principle because it's so specialised). DSPs use ring buffers extensively. Mainly for signal data, but sometimes for communicating tasks and messages between coprocessors. |
|
I haven't played that low in the dirt for many years. I suspect it's a very different world from the one I once knew.
I'm grateful for the abstraction. Low-level comms stuff is pretty damn hairy.