mirror of
https://github.com/python/cpython.git
synced 2025-10-13 10:23:28 +00:00
Close #19199: Remove `PyThreadState.tick_counter
` field
This commit is contained in:
parent
210871db72
commit
8d19767403
5 changed files with 4 additions and 13 deletions
|
@ -1247,7 +1247,6 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
|
|||
a try: finally: block uninterruptible. */
|
||||
goto fast_next_opcode;
|
||||
}
|
||||
tstate->tick_counter++;
|
||||
#ifdef WITH_TSC
|
||||
ticked = 1;
|
||||
#endif
|
||||
|
|
|
@ -182,7 +182,6 @@ new_threadstate(PyInterpreterState *interp, int init)
|
|||
tstate->recursion_critical = 0;
|
||||
tstate->tracing = 0;
|
||||
tstate->use_tracing = 0;
|
||||
tstate->tick_counter = 0;
|
||||
tstate->gilstate_counter = 0;
|
||||
tstate->async_exc = NULL;
|
||||
#ifdef WITH_THREAD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue