diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-04-06 12:39:49 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-04-06 13:16:00 +0300 |
commit | 90621da7f6e1bfd6d91d60415eae04b2bca274c2 (patch) | |
tree | 94a29abbb0dd5d7a7a9646ac8390aff8c9c6f711 /src/liblzma/common/block_buffer_decoder.c | |
parent | liblzma: Threaded decoder: Always wait for output if LZMA_FINISH is used. (diff) | |
download | xz-90621da7f6e1bfd6d91d60415eae04b2bca274c2.tar.xz |
liblzma: Add a new flag LZMA_FAIL_FAST for threaded decoder.
In most cases if the input file is corrupt the application won't
care about the uncompressed content at all. With this new flag
the threaded decoder will return an error as soon as any thread
has detected an error; it won't wait to copy out the data before
the location of the error.
I don't plan to use this in xz to keep the behavior consistent
between single-threaded and multi-threaded modes.
Diffstat (limited to 'src/liblzma/common/block_buffer_decoder.c')
0 files changed, 0 insertions, 0 deletions