Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-134009: Expose PyMutex_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 our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
Loading
from

Conversation

colesbury
Copy link
Contributor

@colesbury colesbury commented May 20, 2025

The PyMutex_IsLocked() function is useful in assertions for verifying that code maintains certain locking invariants.


馃摎 Documentation preview 馃摎: https://cpython-previews--134365.org.readthedocs.build/en/134365/c-api/init.html#c.PyMutex_IsLocked

The `PyMutex_IsLocked()` function is useful in assertions for verifying
that code maintains certain locking invariants.
Doc/c-api/init.rst Outdated Show resolved Hide resolved
Doc/c-api/init.rst Outdated Show resolved Hide resolved
colesbury and others added 2 commits May 22, 2025 15:22
Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.