[PATCH xserver 0/6] Use a thread for input

Keith Packard keithp at keithp.com
Tue Dec 8 15:44:48 PST 2015

Here's a series which revives Tiago's ancient threaded input
patch. This has been cleaned up to make sure that it does locking
correctly, and then patches for xf86 and kdrive/fbdev hook the code to
a couple of X servers to show how it should work.

Before applying that, all of the SIGIO support in the server is first
removed to clean things up. This breaks DRI1 support as that relied on
SIGIO to do swapping at vblank time. That could be revived if
necessary, but I'd suggest that perhaps it's time to just retire that
code instead.

Finally, we take advantage of being able to use malloc from an input
context to fix a bug in the touch handling code.

More information about the xorg-devel mailing list