[mythtv] ringbuffer.cpp

Jean-Yves Avenard jyavenard at gmail.com
Wed Feb 19 01:00:29 UTC 2014


I've summarised the issue being seen in this question:
http://stackoverflow.com/questions/21868812/what-does-a-call-to-read-blocks-forever

So at some stage, once the reader reach the end of the file, it
returns with just the amount of bytes there's left between the current
position and EOF.
Immediately after you have another read for the remaining of the
block. Only then will the writer write again.
The following read is now blocking for a very long time.


More information about the mythtv-dev mailing list