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.
1 parent a48c7f6 commit 612ea96Copy full SHA for 612ea96
Include/cpython/pystate.h
@@ -213,7 +213,12 @@ struct _ts {
213
_PyRemoteDebuggerSupport remote_debugger_support;
214
215
#ifdef Py_STATS
216
- PyStats *pystats; // pointer PyStats structure, NULL if recording is off
+ // Pointer PyStats structure, NULL if recording is off. For the
217
+ // free-threaded build, the structure is per-thread (stored as a pointer
218
+ // in _PyThreadStateImpl). For the default build, the structure is stored
219
+ // in the PyInterpreterState structure (threads do not have their own
220
+ // structure and all share the same per-interpreter structure).
221
+ PyStats *pystats;
222
#endif
223
};
224
0 commit comments