We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
_PyInterpreterState_GET
1 parent ef4665f commit df07364Copy full SHA for df07364
Objects/typeobject.c
@@ -72,7 +72,7 @@ class object "PyObject *" "&PyBaseObject_Type"
72
// the type has been revealed to other threads or we only do those updates
73
// while the stop-the-world mechanism is active. The slots and flags are read
74
// in many places without holding a lock and without atomics.
75
-#define TYPE_LOCK &PyInterpreterState_Get()->types.mutex
+#define TYPE_LOCK &_PyInterpreterState_GET()->types.mutex
76
#define BEGIN_TYPE_LOCK() Py_BEGIN_CRITICAL_SECTION_MUTEX(TYPE_LOCK)
77
#define END_TYPE_LOCK() Py_END_CRITICAL_SECTION()
78
0 commit comments