diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2011-04-11 22:06:03 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2011-04-11 22:06:03 +0300 |
commit | 24e0406c0fb7494d2037dec033686faf1bf67068 (patch) | |
tree | d6ca1f7ccc30629c412cb100338bb6beec0b4862 /src/xz/args.c | |
parent | liblzma: Add lzma_stream_encoder_mt() for threaded compression. (diff) | |
download | xz-24e0406c0fb7494d2037dec033686faf1bf67068.tar.xz |
xz: Add support for threaded compression.
Diffstat (limited to '')
-rw-r--r-- | src/xz/args.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xz/args.c b/src/xz/args.c index 17ac0609..dea93c5f 100644 --- a/src/xz/args.c +++ b/src/xz/args.c @@ -179,8 +179,9 @@ parse_real(args_info *args, int argc, char **argv) break; case 'T': + // The max is from src/liblzma/common/common.h. hardware_threads_set(str_to_uint64("threads", - optarg, 0, LZMA_THREADS_MAX)); + optarg, 0, 16384)); break; // --version |