RingBuffer
RingBuffer copied to clipboard
ConcurrentRingBuffer.PutFrom() - endless loop
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.
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,