mirror of
https://github.com/lz4/lz4.git
synced 2026-10-24 01:48:57 +03:00
The Makefile and meson enable multithreading when pthread is available, and Windows enables it by default (programs/lz4conf.h). CMake never did : on Linux, macOS or BSD, its lz4 binary was single-threaded. CMake now detects pthread (find_package(Threads)) for lz4 and lz4c. The new option LZ4_BUILD_MULTITHREAD (default ON) disables it, Windows included. silesia.tar, lz4 -1 : 0.89 s => 0.25 s, same output size.