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

Support GIL management #191

Closed
gatesn opened this issue Oct 6, 2023 · 0 comments · Fixed by #195
Closed

Support GIL management #191

gatesn opened this issue Oct 6, 2023 · 0 comments · Fixed by #195

Comments

@gatesn
Copy link
Contributor

gatesn commented Oct 6, 2023

Both

const gil = py.gil();
defer gil.release();
const nogil = py.nogil();
defer nogil.acquire();
@gatesn gatesn mentioned this issue Oct 10, 2023
gatesn added a commit that referenced this issue Oct 10, 2023
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 a pull request may close this issue.

1 participant