Release the GIL for long-running functions? #6410
Answered
by
radarhere
TheRealQuantam
asked this question in
Q&A
|
Would it be possible to release the GIL for long-running functions? e.g WebPAnimEncoder.add (especially at high quality settings). |
Answered by
radarhere
Sep 21, 2024
Replies: 4 comments 1 reply
|
Could you provide some more information? What negative situation are you experiencing that caused you to figure out that Pillow wasn't releasing? |
1 reply
|
You may be interested in #7782, which releases the GIL while calling |
0 replies
|
You may be interested in #8199, where Pillow 11.0.0 will work with the experimental free-threaded mode of Python 3.13. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#8386 will finally release the GIL for
WebPAnimEncoderAdd