1
0
mirror of https://git.tukaani.org/xz.git synced 2025-10-12 20:28:18 +00:00
Lasse Collin 0c80045ab8
liblzma: mt dec: Fix lack of parallelization in single-shot decoding
Single-shot decoding means calling lzma_code() by giving it the whole
input at once and enough output buffer space to store the uncompressed
data, and combining this with LZMA_FINISH and no timeout
(lzma_mt.timeout = 0). This way the file is decoded with a single
lzma_code() call if possible.

The bug prevented the decoder from starting more than one worker thread
in single-shot mode. The issue was noticed when reviewing the code;
there are no bug reports. Thus maybe few have tried this mode.

Fixes: 64b6d496dc81 ("liblzma: Threaded decoder: Always wait for output if LZMA_FINISH is used.")
2025-04-03 14:34:42 +03:00
..
2025-03-25 15:18:32 +02:00
2024-05-18 00:34:07 +03:00
2024-05-18 00:34:07 +03:00
2024-04-25 14:04:24 +03:00