[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.
>
> John
>
Here is a new version, which syncs every so many bytes, instead of
purely by time. I *think* it works better for me.
John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RingBuffer-fsync-v2.patch
Type: text/x-patch
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
mailing list