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-99113: Make Sure the GIL is Acquired at the Right Places #104208

Merged
merged 7 commits into from
May 6, 2023
Prev Previous commit
Next Next commit
Fix a typo.
  • Loading branch information
ericsnowcurrently committed May 6, 2023
commit 85702ae366068db7923dca2190f665e970f6ab60
2 changes: 1 addition & 1 deletion Python/ceval_gil.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ _PyEval_InitGIL(PyThreadState *tstate, int own_gil)
}
else {
PyThread_init_thread();
// XXX per-interpreter GIL: switch to interp->ceval._gil.
// XXX per-interpreter GIL: switch to interp->_gil.
init_own_gil(tstate->interp, &tstate->interp->runtime->ceval.gil);
locked = 0;
}
Expand Down