]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Rename ZSTDMT_NBTHREADS_MAX to ZSTDMT_NBWORKERS_MAX. 2228/head
authorMartin Liska <mliska@suse.cz>
Mon, 6 Jul 2020 22:18:20 +0000 (00:18 +0200)
committerMartin Liska <mliska@suse.cz>
Mon, 6 Jul 2020 22:18:20 +0000 (00:18 +0200)
Rename it in zstd man page.

programs/zstd.1
programs/zstd.1.md

index 9ba0b4fa4162c8fa7b37c11efbd3d1efb957c5d1..d8127ecec236158688c1166678a1c6da67478e65 100644 (file)
@@ -123,7 +123,7 @@ Note: cannot use both this and \-D together Note: \fB\-\-long\fR mode will be au
 This is also used during compression when using with \-\-patch\-from=\. In this case, this parameter overrides that maximum size allowed for a dictionary\. (128 MB)\.
 .
 .IP "\(bu" 4
-\fB\-T#\fR, \fB\-\-threads=#\fR: Compress using \fB#\fR working threads (default: 1)\. If \fB#\fR is 0, attempt to detect and use the number of physical CPU cores\. In all cases, the nb of threads is capped to ZSTDMT_NBTHREADS_MAX==200\. This modifier does nothing if \fBzstd\fR is compiled without multithread support\.
+\fB\-T#\fR, \fB\-\-threads=#\fR: Compress using \fB#\fR working threads (default: 1)\. If \fB#\fR is 0, attempt to detect and use the number of physical CPU cores\. In all cases, the nb of threads is capped to ZSTDMT_NBWORKERS_MAX==200\. This modifier does nothing if \fBzstd\fR is compiled without multithread support\.
 .
 .IP "\(bu" 4
 \fB\-\-single\-thread\fR: Does not spawn a thread for compression, use a single thread for both I/O and compression\. In this mode, compression is serialized with I/O, which is slightly slower\. (This is different from \fB\-T1\fR, which spawns 1 compression thread in parallel of I/O)\. This mode is the only one available when multithread support is disabled\. Single\-thread mode features lower memory usage\. Final compressed result is slightly different from \fB\-T1\fR\.
index 176a856c77b02336169eda81fc4dec20f83ca94a..fbbb375586b7ef490a8e4105d870eb5cedee7299 100644 (file)
@@ -147,7 +147,7 @@ the last one takes effect.
 * `-T#`, `--threads=#`:
     Compress using `#` working threads (default: 1).
     If `#` is 0, attempt to detect and use the number of physical CPU cores.
-    In all cases, the nb of threads is capped to ZSTDMT_NBTHREADS_MAX==200.
+    In all cases, the nb of threads is capped to ZSTDMT_NBWORKERS_MAX==200.
     This modifier does nothing if `zstd` is compiled without multithread support.
 * `--single-thread`:
     Does not spawn a thread for compression, use a single thread for both I/O and compression.