mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
1cde019ecd
gh-114203: skip locking if object is already locked by two-mutex critical section (GH-141476)
(cherry picked from commit f26ed455d5)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Tests in this directory are compiled into the _testinternalcapi extension. The main file for the extension is Modules/_testinternalcapimodule.c, which calls `_PyTestInternalCapi_Init_*` from these functions. See Modules/_testcapi/README.txt for guideline when writing C test code.