[PATCH xserver 2/6] Remove SIGIO support.

Alan Coopersmith alan.coopersmith at oracle.com
Tue Dec 8 15:58:50 PST 2015


On 12/ 8/15 03:44 PM, Keith Packard wrote:
> This removes all of the SIGIO handling support throughout the X
> server, preparing the way for using threads for input handling
> instead.
>
> Places calling OsBlockSIGIO and OsReleaseSIGIO are marked with calls
> to stub functions input_lock/input_unlock so that we don't lose this
> information.
>
> Signed-off-by: Keith Packard <keithp at keithp.com>
> ---
>   Xi/exevents.c                             |   4 +-
>   config/config.c                           |   4 +-
>   dix/devices.c                             |  10 +-
>   dix/ptrveloc.c                            |   4 +-
>   dix/touch.c                               |   8 +-
>   hw/dmx/input/dmxevents.c                  |  24 +--
>   hw/kdrive/ephyr/ephyr.c                   |   4 +-
>   hw/kdrive/src/kinput.c                    |  74 +-------
>   hw/xfree86/common/xf86Config.c            |  24 ---
>   hw/xfree86/common/xf86Cursor.c            |   8 +-
>   hw/xfree86/common/xf86Events.c            |  33 ++--
>   hw/xfree86/common/xf86Helper.c            |   2 +-
>   hw/xfree86/common/xf86Init.c              |   6 +-
>   hw/xfree86/common/xf86PM.c                |   8 +-
>   hw/xfree86/common/xf86Xinput.c            |   8 +-
>   hw/xfree86/dri/dri.c                      |  54 +-----
>   hw/xfree86/os-support/bsd/Makefile.am     |   1 -
>   hw/xfree86/os-support/hurd/Makefile.am    |   1 -
>   hw/xfree86/os-support/linux/Makefile.am   |   1 -
>   hw/xfree86/os-support/shared/sigio.c      | 291 ------------------------------
>   hw/xfree86/os-support/shared/sigiostubs.c |  70 -------
>   hw/xfree86/os-support/solaris/Makefile.am |   1 -
>   hw/xfree86/os-support/stub/Makefile.am    |   1 -
>   hw/xfree86/os-support/xf86_OSproc.h       |  12 --
>   include/os.h                              |   6 -
>   mi/mieq.c                                 |   6 +-
>   mi/mipointer.c                            |   4 +-
>   os/utils.c                                |  54 +-----
>   test/Makefile.am                          |   2 +-
>   test/os.c                                 | 166 -----------------
>   xkb/xkbActions.c                          |   4 +-
>   31 files changed, 77 insertions(+), 818 deletions(-)
>   delete mode 100644 hw/xfree86/os-support/shared/sigio.c
>   delete mode 100644 hw/xfree86/os-support/shared/sigiostubs.c
>   delete mode 100644 test/os.c
>

Shouldn't this also remove all the USE_SIGIO_BY_DEFAULT references in configure.ac?

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list