News for hackers. Stuff that matters.
Re:Notes on Concurrency Bugs (2016) by Zababa on Saturday May 28, 2022 @01:30PM (#31542106)
Naive question, why is the triple buffer called like that?
Re:Notes on Concurrency Bugs (2016) by slurpmaker on Saturday May 28, 2022 @01:42PM (#31542209)
So I literally just learned about this, and it's because it is 3 buffers. I found this website to be a good high level overview: https://wiki.c2.com/?TripleBuffer

If that's not short enough the tl;dr is: "with Triple Buffering, there will always be a buffer to write to while a transition is in progress between the other two." The other two buffer's being producer, and consumer buffers.