diff options
author | Sam Gross <colesbury@gmail.com> | 2025-07-01 13:26:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-01 13:26:13 -0400 |
commit | f41e9c750e6971c165e055374a1014d6afd2d50e (patch) | |
tree | bf1e4a487d006801b57374769904761ecbed3c2d /Misc | |
parent | 86c3316183a79867e3c666d0830f897e16f0f339 (diff) | |
download | cpython-main.tar.gz cpython-main.zip |
The `PyMutex_IsLocked()` function is useful in assertions for verifying
that code maintains certain locking invariants.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C_API/2025-05-20-17-13-51.gh-issue-134009.CpCmry.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C_API/2025-05-20-17-13-51.gh-issue-134009.CpCmry.rst b/Misc/NEWS.d/next/C_API/2025-05-20-17-13-51.gh-issue-134009.CpCmry.rst new file mode 100644 index 00000000000..f060f09de19 --- /dev/null +++ b/Misc/NEWS.d/next/C_API/2025-05-20-17-13-51.gh-issue-134009.CpCmry.rst @@ -0,0 +1 @@ +Expose :c:func:`PyMutex_IsLocked` as part of the public C API. |