summaryrefslogtreecommitdiffstats
path: root/Include/cpython
diff options
context:
space:
mode:
authorDino Viehland <dinoviehland@meta.com>2024-05-07 00:22:26 (GMT)
committerGitHub <noreply@github.com>2024-05-07 00:22:26 (GMT)
commitff6cbb2503a8fe3fceeadd889e34fc9a8f308ecd (patch)
treeed2ab05ad2ca3f3819babe399933ffcb85c93ad4 /Include/cpython
parent723d4d2fe8e77b398f0ccffcfa541149caaac6a1 (diff)
downloadcpython-ff6cbb2503a8fe3fceeadd889e34fc9a8f308ecd.zip
cpython-ff6cbb2503a8fe3fceeadd889e34fc9a8f308ecd.tar.gz
cpython-ff6cbb2503a8fe3fceeadd889e34fc9a8f308ecd.tar.bz2
gh-112075: use per-thread dict version pool (#118676)
use thread state set of dict versions
Diffstat (limited to 'Include/cpython')
-rw-r--r--Include/cpython/pystate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/cpython/pystate.h b/Include/cpython/pystate.h
index 0611e29..2df9ecd 100644
--- a/Include/cpython/pystate.h
+++ b/Include/cpython/pystate.h
@@ -188,6 +188,7 @@ struct _ts {
PyObject *previous_executor;
+ uint64_t dict_global_version;
};
#ifdef Py_DEBUG