File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ struct _signals_runtime_state {
60
60
#endif
61
61
} wakeup ;
62
62
63
+ /* Speed up sigcheck() when none tripped */
64
+ _Py_atomic_int is_tripped ;
65
+
63
66
/* True if the main interpreter thread exited due to an unhandled
64
67
* KeyboardInterrupt exception, suggesting the user pressed ^C. */
65
68
int unhandled_keyboard_interrupt ;
Original file line number Diff line number Diff line change @@ -102,9 +102,7 @@ class sigset_t_converter(CConverter):
102
102
103
103
#define Handlers _PyRuntime.signals.handlers
104
104
#define wakeup _PyRuntime.signals.wakeup
105
-
106
- /* Speed up sigcheck() when none tripped */
107
- static _Py_atomic_int is_tripped ;
105
+ #define is_tripped _PyRuntime.signals.is_tripped
108
106
109
107
typedef struct {
110
108
PyObject * default_handler ;
Original file line number Diff line number Diff line change @@ -411,7 +411,6 @@ Modules/_tracemalloc.c - tracemalloc_traces -
411
411
Modules/_tracemalloc.c - tracemalloc_domains -
412
412
Modules/_tracemalloc.c - tracemalloc_reentrant_key -
413
413
Modules/faulthandler.c faulthandler_dump_traceback reentrant -
414
- Modules/signalmodule.c - is_tripped -
415
414
Modules/signalmodule.c - signal_global_state -
416
415
417
416
You can’t perform that action at this time.
0 commit comments