aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/outqueue.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-07-17liblzma: Make the use of lzma_allocator const-correct.Lasse Collin1-2/+3
There is a tiny risk of causing breakage: If an application assigns lzma_stream.allocator to a non-const pointer, such code won't compile anymore. I don't know why anyone would do such a thing though, so in practice this shouldn't cause trouble. Thanks to Jan Kratochvil for the patch.
2011-04-11liblzma: Add lzma_stream_encoder_mt() for threaded compression.Lasse Collin1-0/+155
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.