File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,13 @@ struct _pending_calls {
3434 int last ;
3535};
3636
37+ struct _ceval_interpreter_state {
38+ /* This single variable consolidates all requests to break out of
39+ the fast path in the eval loop. */
40+ _Py_atomic_int eval_breaker ;
41+ struct _pending_calls pending ;
42+ };
43+
3744#include "pycore_gil.h"
3845
3946struct _ceval_runtime_state {
Original file line number Diff line number Diff line change @@ -82,12 +82,7 @@ struct _is {
8282
8383 uint64_t tstate_next_unique_id ;
8484
85- struct _ceval {
86- /* This single variable consolidates all requests to break out of
87- the fast path in the eval loop. */
88- _Py_atomic_int eval_breaker ;
89- struct _pending_calls pending ;
90- } ceval ;
85+ struct _ceval_interpreter_state ceval ;
9186};
9287
9388PyAPI_FUNC (struct _is * ) _PyInterpreterState_LookUpID (PY_INT64_T );
You can’t perform that action at this time.
0 commit comments