Skip to content

Start threads only after calling read and write on ThreadedGzip #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 13, 2024
Merged

Start threads only after calling read and write on ThreadedGzip #55

merged 3 commits into from
Sep 13, 2024

Conversation

y5c4l3
Copy link
Contributor

@y5c4l3 y5c4l3 commented Sep 13, 2024

This is supposed to fix #53 based on #54.

Checklist

  • Pull request details were added to CHANGELOG.rst
  • Documentation was updated (if needed)

rhpvorderman and others added 3 commits September 11, 2024 09:36
This patch reverts daemon threads, and postpones the launch of threads until
calling `read` / `write` on `ThreadedGzipReader` / `ThreadedGzipWriter`. This
is supposed to fix #53.

Signed-off-by: y5c4l3 <[email protected]>
@y5c4l3
Copy link
Contributor Author

y5c4l3 commented Sep 13, 2024

Forked repo passed the CI matrix: https://github.com/y5c4l3/python-zlib-ng/pull/2

@rhpvorderman
Copy link
Contributor

Awesome. Thank you so much!

@rhpvorderman rhpvorderman merged commit 6b942fb into pycompression:develop Sep 13, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gzip_ng_threaded prevents programs from crashing if a file is open
2 participants