zlib
zlib copied to clipboard
Explicitly return thread interrupt state in `zstream_run_func`
Previously, there were race conditions checking the interrupt flag when checking whether to retry zstream_run_func. Instead of relying on the volatile args->interrupt state, we now explicitly signal the function returned due to an interrupt so it can be retried safely.
fixes #57