Mark Kettenis <[email protected]> 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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to