1
0
mirror of https://github.com/lz4/lz4.git synced 2026-10-24 01:48:57 +03:00
Files
Yann Collet ff2b42fa5f cmake: enable multithreading in lz4 programs on pthread platforms
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.
2026-10-12 16:21:54 -07:00
..
2022-02-03 16:27:02 -08:00