aboutsummaryrefslogtreecommitdiff
path: root/src/xz/hardware.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2013-07-04 14:18:46 +0300
committerLasse Collin <lasse.collin@tukaani.org>2013-07-04 14:18:46 +0300
commitdee6ad3d5915422bc30a6821efeacaeb8ca8ef00 (patch)
tree1d7ed417efbe88860df208afaf0b96ed7ed07afd /src/xz/hardware.c
parentxz: Don't set src_eof=true after an I/O error because it's useless. (diff)
downloadxz-dee6ad3d5915422bc30a6821efeacaeb8ca8ef00.tar.xz
xz: Add preliminary support for --flush-timeout=TIMEOUT.
When --flush-timeout=TIMEOUT is used, xz will use LZMA_SYNC_FLUSH if read() would block and at least TIMEOUT milliseconds has elapsed since the previous flush. This can be useful in realtime-like use cases where the data is simultanously decompressed by another process (possibly on a different computer). If new uncompressed input data is produced slowly, without this option xz could buffer the data for a long time until it would become decompressible from the output. If TIMEOUT is 0, the feature is disabled. This is the default. This commit affects the compression side. Using xz for the decompression side for the above purpose doesn't work yet so well because there is quite a bit of input and output buffering when decompressing. The --long-help or man page were not updated yet. The details of this feature may change.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions