[PATCH xserver 17/23] os: Add ospoll interface

Keith Packard 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.

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


More information about the xorg-devel mailing list