Peter Harris <[email protected]> writes:

> The number of fds in fd_set isn't really fixed. FD_SETSIZE is user
> controlled, so I can't imagine a problem with massaging fd_set into C99
> variable-length-array form:
>
> typedef struct xfd_set {
>         u_int fd_count;
>         SOCKET  fd_array[];
> } xfd_set;
>
> and reallocing to taste.

Sounds like it would be easy to duplicate the 'poll' code using this
alternate data structure then? Anyone up for the adventure?

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
[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