RingBuffer icon indicating copy to clipboard operation
RingBuffer copied to clipboard

ConcurrentRingBuffer.PutFrom() - endless loop

Open igvk opened this issue 10 years ago • 1 comments

I tried to use ConcurrentRingBuffer with Stream, but there seems to be a bug in PutFrom function. When remaining == 0 inside the loop in it, but earlyFinish is not set (it is possible after the first successful read), we have an endless loop.

igvk avatar Jan 09 '16 23:01 igvk

Thanks. I really need to rewrite the concurrent versions, sorry - I've since gotten much better at concurrency, but was far too busy at my actual job to do any open-source work on the side, such as this. I will try to get this done over the next month, assuming there is still interest,

xorxornop avatar Feb 13 '17 23:02 xorxornop