aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Tools/wasm/emscripten/web_example/server.py
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-12-02 19:38:26 +0000
committerGitHub <noreply@github.com>2024-12-02 14:38:26 -0500
commitc7dec02de2ed4baf3cd22ad094350265b52c18af (patch)
tree1fd473d97b5e6e38e0b26254d31140884855aa78 /Tools/wasm/emscripten/web_example/server.py
parentc4303763dac4494300e299e54c079a4a11931a55 (diff)
downloadcpython-c7dec02de2ed4baf3cd22ad094350265b52c18af.tar.gz
cpython-c7dec02de2ed4baf3cd22ad094350265b52c18af.zip
gh-127521: Mark list as "shared" before resizing if necessary (#127524)
In the free threading build, if a non-owning thread resizes a list, it must use QSBR to free the old list array because there may be a concurrent access (without a lock) from the owning thread. To match the pattern in dictobject.c, we just mark the list as "shared" before resizing if it's from a non-owning thread and not already marked as shared.
Diffstat (limited to 'Tools/wasm/emscripten/web_example/server.py')
0 files changed, 0 insertions, 0 deletions