]> git.ipfire.org Git - thirdparty/zstd.git/commit
Add warning when multi-thread decompression is requested (#3208)
authorTom Wang <tomcwang@fb.com>
Fri, 29 Jul 2022 19:51:58 +0000 (12:51 -0700)
committerGitHub <noreply@github.com>
Fri, 29 Jul 2022 19:51:58 +0000 (12:51 -0700)
commitd4a5bc4efc40e090bf55a1a9221b6ab26b17b302
tree38c9fe1da5855aa281a33881556ae4aa479fa502
parent2b9fde932b53502ca6fb59d9a9d7ca781ffeae55
Add warning when multi-thread decompression is requested (#3208)

When user pass in argument for both decompression and multi-thread, print a warning message
to indicate that multi-threaded decompression is not supported.

* Add warning when multi-thread decompression is requested
* add test case for multi-threaded decoding warning
   Expectation is for -d -T0 we will not throw any warning,
   and see warning for any other -d -T(>1) inputs
programs/zstdcli.c
tests/cli-tests/compression/multi-threaded.sh
tests/cli-tests/compression/multi-threaded.sh.stderr.exact [new file with mode: 0644]