[PATCH xserver 07/24] os: Add NotifyFd interfaces

Alan Coopersmith alan.coopersmith at oracle.com
Mon Sep 21 10:23:13 PDT 2015


On 09/20/15 11:16 PM, Keith Packard wrote:
> This provides a callback-based interface to monitor file
> descriptors beyond the usual client and device interfaces.
>
> Modules within the server using file descriptors for reading and/or
> writing can call
>
>      Bool SetNotifyFd(int fd, NotifyFdProcPtr notify_fd, int mask, void *data);
>
> mask can be any combination of X_NOTIFY_READ and X_NOTIFY_WRITE.

Now that you've included the mask, should we mark
	http://patchwork.freedesktop.org/patch/10692/
as superseded by this patch?

Any memory of what you wanted to use your proposed AddWriteSocket() API for
all those years ago?

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


More information about the xorg-devel mailing list