GNU bug report logs -
#12450
Remove configure's --without-sync-input option.
Previous Next
Reported by: Paul Eggert <eggert <at> cs.ucla.edu>
Date: Sat, 15 Sep 2012 07:57:02 UTC
Severity: normal
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>> If someone can describe in detail what SYNC_INPUT means
Maybe not quite, because it was implemented rather than designed.
But SYNC_INPUT's purpose is to reduce the code run during POSIX's signal
handling to its minimum (since it's basically unsafe to do anything in
there, due to POSIX's definition of signal handling), so it only sets
a global var (pending_signals) which is then polled by QUIT, so that the
real code reacting to the arrival of a signal is run synchronously.
This avoids problems such as malloc being called in the middle of
another malloc invocation.
The downside of SYNC_INPUT is that we may fail to poll pending_signals
often enough and hence become unresponsive. Since SYNC_INPUT has been
the default for a long while now, I think we can drop the non-SYNC_INPUT
case, indeed, as suggested by Paul. But I don't know how it interacts
with the non-X11 code.
Stefan
This bug report was last modified 12 years and 249 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.