all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* SIGIO and the NS port
@ 2017-03-10 12:41 Alan Third
  2017-03-10 13:35 ` Eli Zaretskii
  2017-03-13 16:38 ` Alan Third
  0 siblings, 2 replies; 6+ messages in thread
From: Alan Third @ 2017-03-10 12:41 UTC (permalink / raw)
  To: Emacs-Devel devel

I think I’ve just found a simple solution to a whole class of bugs in
the NS port.

We’ve had a number of bug reports where Emacs crashes while doing UI
related things, for example minimizing the frame, and generally we’ve
found the best way to deal with these is by wrapping the relevant bit
in block_input/unblock_input.

Today I discovered that config.h on my machine has two defines related
to SIGIO:

#define INTERRUPT_INPUT 1
#define USABLE_SIGIO 1

The NS port doesn’t use SIGIO to signal for input (I think it polls
using ns_select), and if I comment these two defines out I can remove
block_input/unblock_input from various places with no ill effects.

Does anyone know of any reason not to remove these two defines?

How would I go about doing that? I assume config.h is generated by
./configure, but I don’t know anything about that side of things.

Thanks!
-- 
Alan Third



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-21 12:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-10 12:41 SIGIO and the NS port Alan Third
2017-03-10 13:35 ` Eli Zaretskii
2017-03-13 16:38 ` Alan Third
2017-05-20 23:24   ` Alan Third
2017-05-21  7:46     ` Paul Eggert
2017-05-21 12:11       ` Alan Third

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.