[PATCH 0/4] X server's input thread

Tiago Vignatti vignatti at c3sl.ufpr.br
Sat Sep 6 09:31:27 PDT 2008


Hi,

At XDS'08 (btw, amazing as always) we decided to push input thread to 
upstream. Although this solution is not the ideal (for instance because 
it doesn't solve the problem when the cursor's footprint swaps to the 
disk), we won't probably see another reasonable solution soon. So here 
attached come the patches which I plan to push in the next days if no 
one disagrees. I (or Peter :) just have to catch up some things 
regarding the hotplugging of input devices.

It comes enabled by default to stress the test of this feature by 
everyone. If you don't feel confortable you can just pass 
--disable-input-thread to autoconf.

  configure.ac                   |    8 +
  dix/main.c                     |    8 +
  hw/xfree86/common/xf86Events.c |   18 +++
  include/dix-config.h.in        |    3
  include/opaque.h               |    3
  include/os.h                   |   13 ++
  mi/mieq.c                      |   58 ++++++++++
  os/Makefile.am                 |    7 +
  os/WaitFor.c                   |    8 +
  os/connection.c                |   83 ++++++++++++++
  os/inputthread.c               |  228 
+++++++++++++++++++++++++++++++++++++++++
  11 files changed, 436 insertions(+), 1 deletion(-)


Cheers,

-- 
Tiago Vignatti
C3SL - Centro de Computação Científica e Software Livre
www.c3sl.ufpr.br



More information about the xorg mailing list