]> git.ipfire.org Git - thirdparty/libarchive.git/commit
xz: add the xz:threads option. 107/head
authorRui Paulo <rpaulo@felyko.com>
Tue, 17 Feb 2015 19:19:55 +0000 (11:19 -0800)
committerRui Paulo <rpaulo@felyko.com>
Tue, 17 Feb 2015 19:19:55 +0000 (11:19 -0800)
commitb2686dac482985ed3c1cdd3288664cf212abdb5d
tree6a18ab1e627843079b418d90ccca8cb0a26c1840
parenta580c98e3b6d86fce47c716c2b966b8e720a91cf
xz: add the xz:threads option.

It's now possible to chose the number of threads used by the lzma
multi-threaded compressor using tar ... --xz --option xz:threads=N where
N is the number of threads.  When N is 0, it will create threads based
on the number of CPUs (following the xz(1) model).
libarchive/archive_write_add_filter_xz.c
libarchive/archive_write_set_format_xar.c