Skip to content

Converted usages of Py_BEGIN_ALLOW_THREADS - #124

Open
merlimat wants to merge 2 commits into
apache:mainfrom
merlimat:refactor-macro
Open

Converted usages of Py_BEGIN_ALLOW_THREADS#124
merlimat wants to merge 2 commits into
apache:mainfrom
merlimat:refactor-macro

Conversation

@merlimat

Copy link
Copy Markdown
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.

@merlimatmerlimat added this to the 3.2.0 milestone May 24, 2023
@BewareMyPowerBewareMyPower modified the milestones: 3.2.0, 3.3.0May 29, 2023
@shibdshibd modified the milestones: 3.3.0, 3.4.0Aug 15, 2023
@RobertIndieRobertIndie modified the milestones: 3.4.0, 3.5.0Dec 26, 2023
@BewareMyPowerBewareMyPower modified the milestones: 3.5.0, 3.6.0Apr 2, 2024
@BewareMyPowerBewareMyPower modified the milestones: 3.6.0, 3.7.0Jan 21, 2025
@shibdshibd modified the milestones: 3.7.0, 3.8.0May 12, 2025
Sign up for freeto 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

@merlimat@RobertIndie@BewareMyPower@shibd