mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
When two threads are using a WorkQueue and the reader thread exits due to an error, it must call WorkQueue::finish() to wake up the writer thread. Otherwise, if the queue is full and the writer thread is waiting for a free slot, it could hang forever. This can happen in pratice when decompressing a large, corrupted file that does not contain pzstd skippable frames. |
||
|---|---|---|
| .. | ||
| test | ||
| BUCK | ||
| Buffer.h | ||
| FileSystem.h | ||
| Likely.h | ||
| Portability.h | ||
| Range.h | ||
| ResourcePool.h | ||
| ScopeGuard.h | ||
| ThreadPool.h | ||
| WorkQueue.h | ||