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

Converted usages of Py_BEGIN_ALLOW_THREADS #124

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

merlimat
Copy link
Contributor

Use PyBind py::gil_scoped_release C++ class instead of the Python C Macros Py_BEGIN_ALLOW_THREADS for releasing / reacquiring the GIL.

This is just a code readability refactor.

@merlimat merlimat added this to the 3.2.0 milestone May 24, 2023
@merlimat merlimat requested review from BewareMyPower and shibd May 24, 2023 20:53
@BewareMyPower BewareMyPower modified the milestones: 3.2.0, 3.3.0 May 29, 2023
@shibd shibd modified the milestones: 3.3.0, 3.4.0 Aug 15, 2023
@RobertIndie RobertIndie modified the milestones: 3.4.0, 3.5.0 Dec 26, 2023
@BewareMyPower BewareMyPower modified the milestones: 3.5.0, 3.6.0 Apr 2, 2024
@BewareMyPower BewareMyPower modified the milestones: 3.6.0, 3.7.0 Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants