summaryrefslogtreecommitdiffstats
path: root/Tools/c-analyzer
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-12-09 00:50:58 (GMT)
committerGitHub <noreply@github.com>2022-12-09 00:50:58 (GMT)
commit1160001b34615066b1188d5fb457131b1ebb928d (patch)
tree827671c00c80bf761675700128457d7171ec8f46 /Tools/c-analyzer
parentbc8cdf8c3d58f5d28c9e70c72eaae52c6d13f961 (diff)
downloadcpython-1160001b34615066b1188d5fb457131b1ebb928d.zip
cpython-1160001b34615066b1188d5fb457131b1ebb928d.tar.gz
cpython-1160001b34615066b1188d5fb457131b1ebb928d.tar.bz2
gh-81057: Move Threading-Related Globals to _PyRuntimeState (#100084)
https://github.com/python/cpython/issues/81057
Diffstat (limited to 'Tools/c-analyzer')
-rw-r--r--Tools/c-analyzer/cpython/globals-to-fix.tsv1
-rw-r--r--Tools/c-analyzer/cpython/ignored.tsv7
2 files changed, 2 insertions, 6 deletions
diff --git a/Tools/c-analyzer/cpython/globals-to-fix.tsv b/Tools/c-analyzer/cpython/globals-to-fix.tsv
index f774cde..94e9831 100644
--- a/Tools/c-analyzer/cpython/globals-to-fix.tsv
+++ b/Tools/c-analyzer/cpython/globals-to-fix.tsv
@@ -306,7 +306,6 @@ Objects/sliceobject.c - _Py_EllipsisObject -
## state
Objects/object.c - _Py_RefTotal -
-Python/thread_pthread_stubs.h - py_tls_entries -
##################################
diff --git a/Tools/c-analyzer/cpython/ignored.tsv b/Tools/c-analyzer/cpython/ignored.tsv
index 814c55b..7d6ff0b 100644
--- a/Tools/c-analyzer/cpython/ignored.tsv
+++ b/Tools/c-analyzer/cpython/ignored.tsv
@@ -22,11 +22,8 @@ Python/fileutils.c set_inheritable ioctl_works -
# XXX Is this thread-safe?
Modules/posixmodule.c os_dup2_impl dup3_works -
-## resource init - set during first init
-Python/thread.c - initialized -
-Python/thread_pthread.h - condattr_monotonic -
-# safe static buffer used during one-time initialization
-Python/thread_pthread.h init_condattr ca -
+## guards around resource init
+Python/thread_pthread.h PyThread__init_thread lib_initialized -
##-----------------------
## other values (not Python-specific)