liblzma: Add lzma_stream_encoder_mt() for threaded compression.
authorLasse Collin <lasse.collin@tukaani.org>
Mon, 11 Apr 2011 19:03:30 +0000 (22:03 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Mon, 11 Apr 2011 19:03:30 +0000 (22:03 +0300)
commitde678e0c924aa79a19293a8a6ed82e8cb6572a42
tree43c9ca50d190794bd3ed99430c63c3784afbe22f
parent25fe729532cdf4b8fed56a4519b73cf31efaec50
liblzma: Add lzma_stream_encoder_mt() for threaded compression.

This is the simplest method to do threading, which splits
the uncompressed data into blocks and compresses them
independently from each other. There's room for improvement
especially to reduce the memory usage, but nevertheless,
this is a good start.
configure.ac
src/liblzma/api/lzma/container.h
src/liblzma/common/Makefile.inc
src/liblzma/common/common.c
src/liblzma/common/common.h
src/liblzma/common/outqueue.c [new file with mode: 0644]
src/liblzma/common/outqueue.h [new file with mode: 0644]
src/liblzma/common/stream_encoder_mt.c [new file with mode: 0644]