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

GH-96177: Move GIL and some threading code out of ceval.c into gil.c. #96204

Merged
merged 4 commits into from Aug 24, 2022

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Aug 23, 2022

Nothing clever here, just moving the code relevant to the GIL from ceval.c and ceval_gil.h into the new file gil.c

@markshannon markshannon requested a review from a team as a code owner Aug 23, 2022
@markshannon
Copy link
Member Author

markshannon commented Aug 23, 2022

Skipping NEWS as this has no effect on anything visible.

Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

Mostly LGTM

My only concern is that "gil.c" has much more than the GIL stuff. A more accurate name might be "gil_and_eval_breaker.c" or "ceval_state.c".

@markshannon
Copy link
Member Author

markshannon commented Aug 24, 2022

I've renamed it as ceval_gil.c to make it a bit clearer that isn't all the code for the GIL (or just the code for the GIL).

@markshannon markshannon merged commit a4a9f2e into python:main Aug 24, 2022
11 of 12 checks passed
mdboom pushed a commit to mdboom/cpython that referenced this pull request Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants