Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-134009: ExposePyMutex_IsLocked in the public C API#134365
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
The `PyMutex_IsLocked()` function is useful in assertions for verifyingthat code maintains certain locking invariants.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Victor Stinner <vstinner@python.org>
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Uh oh!
There was an error while loading.Please reload this page.
f41e9c7 intopython:mainUh oh!
There was an error while loading.Please reload this page.
…ngh-134365)The `PyMutex_IsLocked()` function is useful in assertions for verifyingthat code maintains certain locking invariants.
…ngh-134365)The `PyMutex_IsLocked()` function is useful in assertions for verifyingthat code maintains certain locking invariants.
…ngh-134365)The `PyMutex_IsLocked()` function is useful in assertions for verifyingthat code maintains certain locking invariants.
Thanks@colesbury for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Sorry,@colesbury, I could not cleanly backport this to |
…pythongh-134365)The `PyMutex_IsLocked()` function is useful in assertions for verifyingthat code maintains certain locking invariants.(cherry picked from commitf41e9c7)Co-authored-by: Sam Gross <colesbury@gmail.com>
GH-136971 is a backport of this pull request to the3.14 branch. |
…ngh-134365)The `PyMutex_IsLocked()` function is useful in assertions for verifyingthat code maintains certain locking invariants.
…ngh-134365)The `PyMutex_IsLocked()` function is useful in assertions for verifyingthat code maintains certain locking invariants.
…pythongh-134365) (python#136971)Co-authored-by: Sam Gross <colesbury@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
The
PyMutex_IsLocked()function is useful in assertions for verifying that code maintains certain locking invariants.PyMutex_IsLockedin the public C API #134009📚 Documentation preview 📚:https://cpython-previews--134365.org.readthedocs.build/en/134365/c-api/init.html#c.PyMutex_IsLocked