[PATCH xserver 17/23] os: Add ospoll interface
keithp at keithp.com
Mon May 30 21:13:38 UTC 2016
Emil Velikov <emil.l.velikov at gmail.com> writes:
> Amazing. On behalf of anyone who has to deal with the Windows side of
> things - thank you.
I'd love to see this working on Windows -- I think it could use either
WSAPoll or select; neither of those depend on FD values at all.
> Side note: various sources claim that WSApoll is broken and MS is
> doing nothing to fix it.
Yeah, sounds like it's not possible to catch broken files (like clients
exiting). Not useful.
> 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.
Anyone on posix can use the poll(2) interface until they code up
something better. Performance results on Linux indicate that 'better'
really is a lot better.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 810 bytes
Desc: not available
More information about the xorg-devel