mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
bpo-43760: Rename _PyThreadState_DisableTracing() (GH-29032)
* Rename _PyThreadState_DisableTracing() to _PyThreadState_PauseTracing() * Rename _PyThreadState_ResetTracing() to _PyThreadState_ResumeTracing()
This commit is contained in:
parent
70945d57e7
commit
034f607906
3 changed files with 11 additions and 11 deletions
|
|
@ -1205,14 +1205,14 @@ void
|
|||
PyThreadState_EnterTracing(PyThreadState *tstate)
|
||||
{
|
||||
tstate->tracing++;
|
||||
_PyThreadState_DisableTracing(tstate);
|
||||
_PyThreadState_PauseTracing(tstate);
|
||||
}
|
||||
|
||||
void
|
||||
PyThreadState_LeaveTracing(PyThreadState *tstate)
|
||||
{
|
||||
tstate->tracing--;
|
||||
_PyThreadState_ResetTracing(tstate);
|
||||
_PyThreadState_ResumeTracing(tstate);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue