apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Pane <bri...@apache.org>
Subject Re: apr_pollset API
Date Tue, 06 Aug 2002 03:12:14 GMT
Rob Saccoccio wrote:

>The pollset API seems to be missing something...
>
>  create a pollset with size 100
>  add 50 descriptors
>  call poll()
>
>If poll returns with 20 descriptors ready, I can't traverse the 20 ready
>descriptors because they're scattered over an array of 50.
>

No, they're the first 20 in the array.  The result set only
contains signalled descriptors.

--Brian



Mime
View raw message