File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ What's New in Python 3.3 Alpha 1?
1010Core and Builtins
1111-----------------
1212
13+ - Issue #12060: Use sig_atomic_t type and volatile keyword in the signal
14+ module. Patch written by Charles-François Natali.
15+
1316- Added the if_nameindex, if_indextoname, if_nametoindex methods to
1417 the socket module as requested in issue #1746656.
1518
Original file line number Diff line number Diff line change @@ -88,12 +88,12 @@ static long main_thread;
8888static pid_t main_pid ;
8989#endif
9090
91- static struct {
92- int tripped ;
91+ static volatile struct {
92+ sig_atomic_t tripped ;
9393 PyObject * func ;
9494} Handlers [NSIG ];
9595
96- static sig_atomic_t wakeup_fd = -1 ;
96+ static volatile sig_atomic_t wakeup_fd = -1 ;
9797
9898/* Speed up sigcheck() when none tripped */
9999static volatile sig_atomic_t is_tripped = 0 ;
You can’t perform that action at this time.
0 commit comments