]> git.ipfire.org Git - thirdparty/zstd.git/commit
Changed nbThreads for nbWorkers
authorYann Collet <cyan@fb.com>
Fri, 2 Feb 2018 03:29:30 +0000 (19:29 -0800)
committerYann Collet <cyan@fb.com>
Fri, 2 Feb 2018 03:29:30 +0000 (19:29 -0800)
commit209df52ba29a0f1eacd9899dda5fcc0c0a1c313f
tree258ff35f486554e6ebccd4c0ed4081d57292ddd3
parent4b6a94f0ccb3de6ba0ff3b840febecefb6285d81
Changed nbThreads for nbWorkers

This makes it easier to explain that nbWorkers=0 --> single-threaded mode,
while nbWorkers=1 --> asynchronous mode (one mode thread on top of the "main" caller thread).
No need for an additional asynchronous mode flag.
nbWorkers>=2 works the same as nbThreads>=2 previously.
15 files changed:
doc/zstd_manual.html
lib/compress/zstd_compress.c
lib/compress/zstd_compress_internal.h
lib/compress/zstdmt_compress.c
lib/compress/zstdmt_compress.h
lib/zstd.h
programs/bench.c
programs/bench.h
programs/fileio.c
programs/fileio.h
programs/zstdcli.c
tests/fullbench.c
tests/fuzzer.c
tests/roundTripCrash.c
tests/zstreamtest.c