[mythtv] [PATCH] RingBuffer - fsync thread
John Patrick Poet
john at BlueSkyTours.com
Mon Dec 13 00:54:20 UTC 2004
John Patrick Poet wrote:
> As Isaac suggested, this patch moves the fdatasync(fd) call to it's
> own thread. The means that the ThreadedFileWriter does not have to
> wait for that call to return before processing data.
Here is a new version, which syncs every so many bytes, instead of
purely by time. I *think* it works better for me.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3177 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041212/f8fd3741/RingBuffer-fsync-v2.bin
More information about the mythtv-dev