On 30 May 2016 at 08:47, Keith Packard <[email protected]> wrote:
> Julien Cristau <[email protected]> writes:
>
>>> #define X_NOTIFY_READ   POLLIN
>>> #define X_NOTIFY_WRITE  POLLOUT
>>> #define X_NOTIFY_OTHER  (!(POLLIN|POLLOUT))
>>>
>> I guess you mean ~(POLLIN|POLLOUT).
>
> Yes, thanks. I've actually reconsidered and decided to make an interface
> which doesn't use the underlying OS values. It's simpler to describe,
> and allows us to change the underlying implementation without impacting
> the ABI.
Amazing. On behalf of anyone who has to deal with the Windows side of
things - thank you.

Side note: various sources claim that WSApoll is broken and MS is
doing nothing to fix it. So this approach makes it a lot easier for
people to rework things. Be that on the Windows side or if the BSD
people are interested in using something like kqueue.

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

Reply via email to