1 Nov 2010 02:28
Re: GTK stack-busting loop
Stefan Monnier <monnier <at> iro.umontreal.ca>
2010-11-01 01:28:37 GMT
2010-11-01 01:28:37 GMT
> *** src/xterm.c 2010-10-25 16:04:54 +0000 > --- src/xterm.c 2010-10-31 03:51:26 +0000 > *************** > *** 7056,7062 **** > } > --handling_signal; > ! UNBLOCK_INPUT; > return count; > } > --- 7056,7062 ---- > } > --handling_signal; > ! --interrupt_input_blocked; > return count; > } > Any thoughts? (Stefan?) That doesn't sound very good. There's nothing wrong (fundamentally) with the UNBLOCK_INPUT causing another call to XTread_socket: after all, we've basically finished the first call when we get to UNBLOCK_INPUT, so there's no "nested interrupt" problem, AFAICT. After all, we're just coming out of a "while (gtk_events_pending ())", so the case where we get "called recursively" should be very rare.(Continue reading)
RSS Feed