aboutsummaryrefslogtreecommitdiff
path: root/src/xz/file_io.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-03-07 00:36:16 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-03-07 00:36:16 +0200
commit6c6da57ae2aa962aabde6892442227063d87e88c (patch)
treeb84567e4cd0fd109bce7de30e49caba11d9e828b /src/xz/file_io.c
parentliblzma: Add threaded .xz decompressor. (diff)
downloadxz-6c6da57ae2aa962aabde6892442227063d87e88c.tar.xz
xz: Add initial support for threaded decompression.
If threading support is enabled at build time, this will use lzma_stream_decoder_mt() even for single-threaded mode. With memlimit_threading=0 the behavior should be identical. This needs some work like adding --memlimit-threading=LIMIT. The original patch from Sebastian Andrzej Siewior included a method to get currently available RAM on Linux. It might be one way to go but as it is Linux-only, the available-RAM approach needs work for portability or using a fallback method on other OSes. The man page wasn't updated yet.
Diffstat (limited to 'src/xz/file_io.c')
0 files changed, 0 insertions, 0 deletions