Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-114940: Add _Py_FOR_EACH_TSTATE_UNLOCKED(), and Friends#127077
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
gh-114940: Add _Py_FOR_EACH_TSTATE_UNLOCKED(), and Friends#127077
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@colesbury, do you have any objections to how I turn |
No objections from me! |
9dabace
intopython:mainUh oh!
There was an error while loading.Please reload this page.
…hongh-127077)This is a precursor to the actual fix forpythongh-114940, where we will change these macros to use the new lock. This change is almost entirely mechanical; the exceptions are the loops in codeobject.c and ceval.c, which now hold the "head" lock. Note that almost all of the uses of _Py_FOR_EACH_TSTATE_UNLOCKED() here will change to _Py_FOR_EACH_TSTATE_BEGIN() once we add the new per-interpreter lock.
Uh oh!
There was an error while loading.Please reload this page.
This is a precursor to the actual fix forgh-114940, where we will change these macros to use the new lock. This change is almost entirely mechanical; the exceptions are the loops in codeobject.c and ceval.c, which now hold the "head" lock. Note that almost all of the uses of
_Py_FOR_EACH_TSTATE_UNLOCKED()
here will change to_Py_FOR_EACH_TSTATE_BEGIN()
once we add the new per-interpreter lock.