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.

@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
@shibd shibd modified the milestones: 3.7.0, 3.8.0 May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4 participants