mirror of
https://github.com/python/cpython
synced 2026-09-28 02:33:18 +03:00
gh-117323: Make cell thread-safe in free-threaded builds (#117330)
Use critical sections to lock around accesses to cell contents. The critical sections are no-ops in the default (with GIL) build.
This commit is contained in:
parent
397d88db5e
commit
19c1dd60c5
11 changed files with 83 additions and 43 deletions
|
|
@ -210,6 +210,7 @@
|
|||
<ClInclude Include="..\Include\internal\pycore_bytesobject.h" />
|
||||
<ClInclude Include="..\Include\internal\pycore_call.h" />
|
||||
<ClInclude Include="..\Include\internal\pycore_capsule.h" />
|
||||
<ClInclude Include="..\Include\internal\pycore_cell.h" />
|
||||
<ClInclude Include="..\Include\internal\pycore_ceval.h" />
|
||||
<ClInclude Include="..\Include\internal\pycore_ceval_state.h" />
|
||||
<ClInclude Include="..\Include\internal\pycore_cfg.h" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue