]> git.ipfire.org Git - thirdparty/zstd.git/commit
make zstdmt resize its context
authorYann Collet <cyan@fb.com>
Wed, 20 Jun 2018 00:28:56 +0000 (17:28 -0700)
committerYann Collet <cyan@fb.com>
Wed, 20 Jun 2018 00:28:56 +0000 (17:28 -0700)
commit066fbbfe1c8f849420ff9f10711bd1d11b8ce15b
tree8c908670ca8c4f618e8a40a17570fc92ec43c765
parent4567c571994428ce19710b9b03ff3b28cfaa7c38
make zstdmt resize its context

when nbThreads change.

Technically, it only expands.
But when instructed to use less threads,
the thread pool will limit nb of concurrent threads.
lib/compress/zstd_compress.c
lib/compress/zstdmt_compress.c
lib/compress/zstdmt_compress.h