Comment on I've been writing ring buffers wrong all these years (2016)parentComments−tom_8moMy parting shot was slightly tongue in cheek, apologies. Fifty years is a long time. The process, whatever it is, will have been replaced or otherwise become irrelevant long before the period is up. 64 bits will be sufficient.−gpderetta8moAt some point a random bitflip becomes more likely than the counter overflowing.
Comments
My parting shot was slightly tongue in cheek, apologies. Fifty years is a long time. The process, whatever it is, will have been replaced or otherwise become irrelevant long before the period is up. 64 bits will be sufficient.
At some point a random bitflip becomes more likely than the counter overflowing.