[PATCH xserver 23/24] Remove readmask from screen block/wakeup handler

Keith Packard keithp at keithp.com
Mon Sep 21 04:06:22 PDT 2015


Mark Kettenis <mark.kettenis at xs4all.nl> writes:

> This, of course, has impact on pretty much all the drivers.  Many use
> compat-api.h and could probably be fixed by adding an additional
> stanza there.  But somebody still needs to do that work.

A few actually use the block and wakeup handlers to manage additional
file descriptors, and those will take actual work to change them to use
the new NotifyFd interface.

Most of the compat-api.h versions I see already contain
BLOCKHANDLER_ARGS, and a few contain WAKEUPHANDLER_ARGS as well, so at
least a few drivers will make this pretty easy to manage.

I'm still fumbling around creating a suitable way for the OS layer to
use epoll, kqueue or poll as an appropriate replacement for select. I
hope I'm getting closer though; something much like the NotifyFd
interfaces might work. With that, we'll be able to actually connect
MAXCLIENTS to the server, even with input devices, system interface
libraries and listening sockets occupying some of the file descriptor
space.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150921/88cc939c/attachment.sig>


More information about the xorg-devel mailing list