Skip to content
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

releasing the GIL? #4

Open
ThomasWaldmann opened this issue May 26, 2015 · 2 comments
Open

releasing the GIL? #4

ThomasWaldmann opened this issue May 26, 2015 · 2 comments
Assignees

Comments

@ThomasWaldmann
Copy link
Contributor

Can you say something about whether you release Python's GIL while the C compression/decompression/hashing code does its work? If you don't, do you think this would be possible?

It would be good for Python software that is multithreaded and wants to do stuff in parallel (like loading the next piece from disk or encrypting or ...).

See there about why I am asking:

https://github.com/thomaswaldmann/borg/tree/multithreading

@darkdragn
Copy link
Owner

Currently it doesn't release the GIL, however it wouldn't take much to allow it to. I'll try putting something together this weekend. Try checking back some time on Sunday or so and I'll try having the commit up. I would have it up sooner, but I'm taking on another CCNA R&S class tomorrow, and gearing up on taking IINS (640-554) to renew my CCNA.

On a side note, thanks for the spell check. I'm in the military and just kind of put this together while at a quick class in between commands and since I've been so busy at my new command as a CCNA instructor that I haven't even looked at this since last September or so.

@byaka
Copy link

byaka commented Dec 25, 2015

Any news about this problem?

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

No branches or pull requests

3 participants