File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ kernel/git/torvalds/linux.git/tree/tools/perf/Documentation/jit-interface.txt>`_
1616In Python, these helper APIs can be used by libraries and features that rely
1717on generating machine code on the fly.
1818
19- Note that holding the Global Interpreter Lock (GIL) is not required for these APIs.
19+ Note that holding an active :term: ` thread state ` is not required for these APIs.
2020
2121.. c :function :: int PyUnstable_PerfMapState_Init (void)
2222
Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ accessible to C code. They all work with the current interpreter thread's
346346 silently abort the operation by raising an error subclassed from
347347 :class: `Exception ` (other errors will not be silenced).
348348
349- The hook function is always called with the GIL held by the Python
349+ The hook function is always called with a :term:`thread state` by the Python
350350 interpreter that raised the event.
351351
352352 See :pep:`578` for a detailed description of auditing. Functions in the
You can’t perform that action at this time.
0 commit comments