diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2022-11-19 19:06:13 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-11-19 19:06:13 +0200 |
commit | d327743bb547a53364e5951a16e5f1663fe4b9ff (patch) | |
tree | 161f141e97f7946e05541ad92f141c3deeb2dc28 /src/xz/xz.1 | |
parent | CMake: Adds test_memlimit to CMake tests (diff) | |
download | xz-d327743bb547a53364e5951a16e5f1663fe4b9ff.tar.xz |
xz: Add support --threads=+N so that -T+1 gives threaded mode.
Diffstat (limited to '')
-rw-r--r-- | src/xz/xz.1 | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/xz/xz.1 b/src/xz/xz.1 index 62bab507..1ff110e8 100644 --- a/src/xz/xz.1 +++ b/src/xz/xz.1 @@ -5,7 +5,7 @@ .\" This file has been put into the public domain. .\" You can do whatever you want with this file. .\" -.TH XZ 1 "2022-11-09" "Tukaani" "XZ Utils" +.TH XZ 1 "2022-11-19" "Tukaani" "XZ Utils" . .SH NAME xz, unxz, xzcat, lzma, unlzma, lzcat \- Compress or decompress .xz and .lzma files @@ -1214,6 +1214,25 @@ even if the system supports only one hardware thread. 5.2.x used single-threaded mode in this situation.) .IP "" +To use multi-threaded mode with only one thread, set +.I threads +to +.BR +1 . +The +.B + +prefix has no effect with values other than +.BR 1 . +A memory usage limit can still make +.B xz +switch to single-threaded mode unless +.B \-\-no\-adjust +is used. +Support for the +.B + +prefix was added in +.B xz +5.4.0. +.IP "" If an automatic number of threads has been requested and no memory usage limit has been specified, then a system-specific default soft limit will be used to possibly |