zstd/lib/compress
Nick Terrell de0499f7fa [libzstd] Require ZSTD_MULTITHREAD to create a ZSTDMT_CCtx
ZSTDMT was broken when compiled without ZSTD_MULTITHREAD defined,
because `ZSTD_CCtx_setParameter(cctx, ZSTD_c_nbWorkers, nbWorkerss)`
failed. It was detected by the MSVC test which runs the fuzzer with
multithreading disabled.

This is a very niche use case of a deprecated API, because the API is
inefficient and synchronous, since `threading.h` will be synchronous.
Users almost certainly don't want this, and anyone who tested their code
should realize that it is broken. Therefore, I think it is safe to
require `ZSTD_MULTITHREAD` to be defined to use ZSTDMT.
2019-04-15 23:04:46 -07:00
..
2019-04-12 11:18:11 -07:00
2019-04-12 11:18:11 -07:00
2019-04-12 11:18:11 -07:00
2018-11-20 14:56:07 -08:00
2019-04-12 11:18:11 -07:00
2019-04-12 11:18:11 -07:00
2019-04-12 11:18:11 -07:00