Skip to content
Discussion options

You must be logged in to vote

The linked code with hold the GIL for the whole duration of the call. If you want to release it, you to do so manually by calling allow_threads.

(We are working an a function attribute #[pyo3(allow_threads)] in #3610 to do this automatically, but that code is neither merged nor released yet.)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rafales
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants