[Xorg] How should a driver hook into the X server's idle loop

Alan Cox alan at lxorguk.ukuu.org.uk
Tue Jul 13 16:31:40 PDT 2004


On Mer, 2004-07-14 at 01:01, Ken Healy wrote:
> Quick summary. (See below for context and details).
> 
> How can an X device driver hook in to the X server's idle loop to process
> asynchronous requests (e.g. read a command from a file descriptor and act on
> it, when flagged by a SIGIO handler).

There are some worked examples in the input layer, including masking the
SIGIO handler.

Take a look at AddEnabledDevice(fd), RemoveEnabledDevice(fd) and friends





More information about the xorg mailing list