diff options
author | Sam Gross <colesbury@gmail.com> | 2023-11-08 22:39:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-08 22:39:29 (GMT) |
commit | 31c90d5838e8d6e4c47d98500a34810ccb33a6d4 (patch) | |
tree | 5be595b11ca17cf1f1bd5875a69a04b927f10dff /PCbuild/_freeze_module.vcxproj | |
parent | 0b718e6407da65b838576a2459d630824ca62155 (diff) | |
download | cpython-31c90d5838e8d6e4c47d98500a34810ccb33a6d4.zip cpython-31c90d5838e8d6e4c47d98500a34810ccb33a6d4.tar.gz cpython-31c90d5838e8d6e4c47d98500a34810ccb33a6d4.tar.bz2 |
gh-111569: Implement Python critical section API (gh-111571)
Critical sections are helpers to replace the global interpreter lock
with finer grained locking. They provide similar guarantees to the GIL
and avoid the deadlock risk that plain locking involves. Critical
sections are implicitly ended whenever the GIL would be released. They
are resumed when the GIL would be acquired. Nested critical sections
behave as if the sections were interleaved.
Diffstat (limited to 'PCbuild/_freeze_module.vcxproj')
-rw-r--r-- | PCbuild/_freeze_module.vcxproj | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/PCbuild/_freeze_module.vcxproj b/PCbuild/_freeze_module.vcxproj index e4ce3fe..a1c37e1 100644 --- a/PCbuild/_freeze_module.vcxproj +++ b/PCbuild/_freeze_module.vcxproj @@ -195,6 +195,7 @@ <ClCompile Include="..\Python\codecs.c" /> <ClCompile Include="..\Python\compile.c" /> <ClCompile Include="..\Python\context.c" /> + <ClCompile Include="..\Python\critical_section.c" /> <ClCompile Include="..\Python\crossinterp.c" /> <ClCompile Include="..\Python\dtoa.c" /> <ClCompile Include="..\Python\dynamic_annotations.c" /> @@ -220,12 +221,14 @@ <ClCompile Include="..\Python\intrinsics.c" /> <ClCompile Include="..\Python\instrumentation.c" /> <ClCompile Include="..\Python\legacy_tracing.c" /> + <ClCompile Include="..\Python\lock.c" /> <ClCompile Include="..\Python\marshal.c" /> <ClCompile Include="..\Python\modsupport.c" /> <ClCompile Include="..\Python\mysnprintf.c" /> <ClCompile Include="..\Python\mystrtoul.c" /> <ClCompile Include="..\Python\optimizer.c" /> <ClCompile Include="..\Python\optimizer_analysis.c" /> + <ClCompile Include="..\Python\parking_lot.c" /> <ClCompile Include="..\Python\pathconfig.c" /> <ClCompile Include="..\Python\perf_trampoline.c" /> <ClCompile Include="..\Python\preconfig.c" /> |