The other sweet advantage of having designated read and write buffers (beyond decreasing sync costs) like this is that you can potentially resize one of the buffers as your reader or writer switches to it!
Mostly buffer sizes are static, but also technically it's been hard & costly to change, cause buffers are live & ever changing. The switchover points of the blip buffer are a nice opportunity where no pause, no data copy is necessary.
I didn't know there was a name for the dual circular buffers. Neat! Hello Bip Buffers.
Mostly buffer sizes are static, but also technically it's been hard & costly to change, cause buffers are live & ever changing. The switchover points of the blip buffer are a nice opportunity where no pause, no data copy is necessary.
I didn't know there was a name for the dual circular buffers. Neat! Hello Bip Buffers.