Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-03-26 | liblzma: Fix a deadlock in threaded decoder. | Lasse Collin | 1 | -19/+52 | |
If a worker thread has consumed all input so far and it's waiting on thr->cond and then the main thread enables partial update for that thread, the code used to deadlock. This commit allows one dummy decoding pass to occur in this situation which then also does the partial update. As part of the fix, this moves thr->progress_* updates to avoid the second thr->mutex locking. Thanks to Jia Tan for finding, debugging, and reporting the bug. | |||||
2022-03-23 | liblzma: Threaded decoder: Don't stop threads on LZMA_TIMED_OUT. | Lasse Collin | 1 | -1/+1 | |
LZMA_TIMED_OUT is not an error and thus stopping threads on LZMA_TIMED_OUT breaks the decoder badly. Thanks to Jia Tan for finding the bug and for the patch. | |||||
2022-03-07 | liblzma: Add threaded .xz decompressor. | Lasse Collin | 1 | -0/+1814 | |
I realize that this is about a decade late. Big thanks to Sebastian Andrzej Siewior for the original patch. I made a bunch of smaller changes but after a while quite a few things got rewritten. So any bugs in the commit were created by me. |