@@ -78,29 +78,29 @@ Raw Clock Functions
7878-------------------
7979
8080Similar to clock functions, but don't set an exception on error and don't
81- require the caller to hold the GIL .
81+ require the caller to have an active :term: ` thread state ` .
8282
8383On success, the functions return ``0 ``.
8484
8585On failure, they set ``*result `` to ``0 `` and return ``-1 ``, *without * setting
86- an exception. To get the cause of the error, acquire the GIL and call the
86+ an exception. To get the cause of the error, attach a :term: ` thread state `, and call the
8787regular (non-``Raw ``) function. Note that the regular function may succeed after
8888the ``Raw`` one failed.
8989
9090.. c:function:: int PyTime_MonotonicRaw(PyTime_t *result)
9191
9292 Similar to :c:func: `PyTime_Monotonic `,
93- but don't set an exception on error and don't require holding the GIL .
93+ but don't set an exception on error and don't require an active :term: ` thread state ` .
9494
9595.. c :function :: int PyTime_PerfCounterRaw (PyTime_t *result)
9696
9797 Similar to :c:func: `PyTime_PerfCounter `,
98- but don't set an exception on error and don't require holding the GIL .
98+ but don't set an exception on error and don't require an active :term: ` thread state ` .
9999
100100.. c :function :: int PyTime_TimeRaw (PyTime_t *result)
101101
102102 Similar to :c:func: `PyTime_Time `,
103- but don't set an exception on error and don't require holding the GIL .
103+ but don't set an exception on error and don't require an active :term: ` thread state ` .
104104
105105
106106Conversion functions
0 commit comments